/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package calculadora;

import java.text.NumberFormat;
import java.text.ParseException;
import java.util.Locale;
import java.util.Objects;
import javax.swing.JTextField;
import java.awt.Component;
import java.awt.Container;

/**
 *
 * @author George
 */
public class CalculadoraGUI extends javax.swing.JFrame {
    private Double pesoCanaPropria;
    private Double pesoCanaConsorciada;
    private Double pesoCanaDeOutros;
    private Double areaCanaPropria;
    private Double areaCanaConsorciada;
    private Double areaCanaDeOutros;
    private Double pesoPercentualAlambique;
    private Double areaPercentualAlambique;
    private Double pesoPorAreaCanaPropria;
    private Double pesoPorAreaCanaDeOutros;
    private Double pesoPorAreaCanaConsorciada;
    private double pesoTotalCana;
    private double areaTotalCana;
    private double volumeTotalCachacaEmLitros;
    private double sequestroDeCarbonoArea;
    private double sequestroDeCarbonoPeso;
    private double sequestroCarbonoTotal;
    private Double percentualDeCanavialQueimado;
    private double emissaoDeCarbonoPorQueima;
    private double saldoSequestroCarbonoPlanilha2;
    private double saldoTotalSequestroCarbono = 0;
    private boolean []calledVector;
    private double emissaoDeCarbonoPorFermentacao;
    private double volumeVinhaca;
    private Double consumoMotorEletrico;
    private Double consumoMotorDiesel;
    private double emissaoDeCarbonoPorMoagem;
    private double saldoSequestroCarbonoPlanilha3;
    private double emissaoDeCarbonoPorFermentacaoAux;
    private double emissaoDeCarbonoPelaDestinacaoBagaco;
    private Double percentualDeCanaConvertidaEmBagaco;
    private Double destinoDoBagacoLixo;
    private Double destinoDoBagacoCompostagem;
    private Double destinoDoBagacoAlimentacaoAnimal;
    private Double destinoDoBagacoQueima;
    private double pesoTotalDoBagaco;
    private double pesoTotalBagacoCalculado;
    private double saldoSequestroCarbonoPlanilha4;
    private double emissaoDeCarbonoPelaDestinacaoVinhaca;
    private double emissaoDeCarbonoPorEletricidade;
    private Double consumoEletricoTotal;
    private Double destinoVinhacaAdubacaoCrua;
    private Double destinoVinhacaAdubacaoQueimada;
    private Double destinoVinhacaCompostagem;
    private Double destinoVinhacaLixo;
    private double totalVinhacaCalculado;
    private double saldoSequestroCarbonoPlanilha5;
    private double emissaoDeCarbonoPorLixoOrganico;
    private double emissaoDeCarbonoPorVeiculos;
    private Double usoDeVeiculosSafraFuncionarios;
    private Double usoDeVeiculosSafraCaminhoes;
    private Double usoDeVeiculosSafraMotos;
    private Double usoDeVeiculosSafraTratores;
    private Double usoDeVeiculosSafraProprietarios;
    private Double producaoLixoOrganico;
    private double lixoOrganicoTotalProduzido;
    private double saldoSequestroCarbonoPlanilha6;

    /**
     * >>>>> MEUS METODOS
     * @param c@return      */

    public static void clearJTextFields(final Container c) {
        Component[] comps = c.getComponents();
        for (Component comp : comps) {
            if (comp instanceof JTextField)
                ((JTextField)comp).setText(null);
            else if (comp instanceof Container)
                clearJTextFields((Container) comp);
        }
    }
    
    private void restart() {
        saldoSequestroCarbonoPlanilha2 = 0;
        saldoSequestroCarbonoPlanilha3 = 0;
        saldoSequestroCarbonoPlanilha4 = 0;
        saldoSequestroCarbonoPlanilha5 = 0;
        saldoSequestroCarbonoPlanilha6 = 0;
        saldoTotalSequestroCarbono = 0;
        emissaoDeCarbonoPelaDestinacaoBagaco = 0;
        emissaoDeCarbonoPelaDestinacaoVinhaca = 0;
        emissaoDeCarbonoPorEletricidade = 0;
        emissaoDeCarbonoPorFermentacao = 0;
        emissaoDeCarbonoPorLixoOrganico = 0;
        emissaoDeCarbonoPorMoagem = 0;
        emissaoDeCarbonoPorVeiculos = 0;
        initMyComponents();
        clearJTextFields(this);
   }
    
    private Double parseText(JTextField t) throws ParseException {
        NumberFormat format = NumberFormat.getNumberInstance(Locale.FRANCE);
        Double value;
        
        
        if (t.getText().length() != 0 && t.getText() != null) {
            char c;
            boolean hasComma = false;
            
            for (int i = 0; i < t.getText().length(); i++) {
                c = t.getText().charAt(i);
                if (c == ',') {
                    if (hasComma == false)
                        hasComma = true;
                    else 
                        throw new ParseException(null, 0);
                }
                else if (!Character.isDigit(c))
                    throw new ParseException(null, 0);
            }
            
            Number number = format.parse(t.getText());
            value = number.doubleValue();
        }
        else {
            value = 0.0;
        }
        
        return value;
    }
    
    private String formatDouble(double d) {
        if (d == (int) d)
            return String.format("%d", (int)d);
        else
            return String.format(Locale.FRANCE, "%.2f", d);
    }
    
    /*
    * TODO atualizar mudas
    */
    private void updateFinalBalance(double value) {
        saldoTotalSequestroCarbono += value;
        saldoTotalSesquetroCarbonoText.setText((saldoTotalSequestroCarbono > 0 ? "+":"") 
                +formatDouble(saldoTotalSequestroCarbono));
        if (saldoTotalSequestroCarbono < 0.0) {
            compensacaoCarbonoMudasText.setText(formatDouble((int)(-saldoTotalSequestroCarbono*5)));
            compensacaoCarbonoAreaText.setText(formatDouble(-saldoTotalSequestroCarbono/1600));
        }
        else if (value > 0.0) {
            compensacaoCarbonoMudasText.setText("0");
            compensacaoCarbonoAreaText.setText("0");
        }
    }
    
    private void initMyComponents() {
        desejaReinciarFrame.setVisible(false);
        formatoInvalidoLabel.setVisible(false);
        formatoInvalidoLabel1.setVisible(false);
        formatoInvalidoLabel2.setVisible(false);
        formatoInvalidoLabel3.setVisible(false);
        formatoInvalidoLabel4.setVisible(false);
        formatoInvalidoLabel5.setVisible(false);
        
        calledVector = new boolean[6];
        for (int i = 0; i < 6; i++)
            calledVector[i] = false;
    
        destinoDoBagacoAlimentacaoAnimalTonButton.setSelected(true);
        destinoDoBagacoCompostagemUnityTonButton.setSelected(true);
        destinoDoBagacoLixoUnityTonButton.setSelected(true);
        destinoDoBagacoQueimaUnityTonButton.setSelected(true);
        
        destinoVinhacaAdubacaoCruaUnityM3Button.setSelected(true);
        destinoVinhacaCompostagemUnityM3Panel.setSelected(true);
        destinoVinhacaLixoUnityM3Button.setSelected(true);
        destinoVinhacaAdubacaoQueimadaUnityM3Button.setSelected(true);
        
        producaoLixoOrganicoUnityMesButton.setSelected(true);
    
    }
    
    private boolean calcularPlanilha2() {
        
        formatoInvalidoLabel.setVisible(false);
        volumeCachacaProduzidaText.setText(null);
        totalCanaUtilizadaAreaText.setText(null);
        totalCanaUtilizadaPesoText.setText(null);
        sequestroDeCarbonoAreaText.setText(null);
        sequestroDeCarbonoPesoText.setText(null);
        sequestroDeCarbonoTotalText.setText(null);
        emissaoDeCarbonoPorFermentacaoTextLabel.setText(null);
        volumeVinhacaText.setText(null);
        updateFinalBalance(-sequestroCarbonoTotal);
        sequestroCarbonoTotal = 0.0;
        try {
            pesoCanaPropria = parseText(pesoCanaPropriaText);
            pesoCanaConsorciada = parseText(pesoCanaConsorciadaText);
            pesoCanaDeOutros = parseText(pesoCanaDeOutrosText);
            areaCanaPropria = parseText(areaCanaPropriaText);
            areaCanaConsorciada = parseText(areaCanaConsorciadaText);
            areaCanaDeOutros = parseText(areaCanaDeOutrosText);
            pesoPercentualAlambique = parseText(pesoPercentualAlambiqueText)/100;
            areaPercentualAlambique = parseText(areaPercentualAlambiqueText)/100;
            pesoPorAreaCanaPropria = parseText(pesoPorAreaCanaPropriaText);
            pesoPorAreaCanaConsorciada = parseText(pesoPorAreaCanaConsorciadaText);
            pesoPorAreaCanaDeOutros = parseText(pesoPorAreaCanaDeOutrosText);
        } catch (ParseException e) { 
            formatoInvalidoLabel.setVisible(true);
            return false;
        }
        
        if (Objects.equals(pesoPorAreaCanaConsorciada, (Double)0.0)) {
            pesoPorAreaCanaConsorciada = 55.0;
            pesoPorAreaCanaConsorciadaText.setText("55");
        }
        if (Objects.equals(pesoPorAreaCanaPropria, (Double)0.0)) {
            pesoPorAreaCanaPropria = 55.0;
            pesoPorAreaCanaPropriaText.setText("55");
        }
        if (Objects.equals(pesoPorAreaCanaDeOutros, (Double)0.0)) {
            pesoPorAreaCanaDeOutros = 55.0;
            pesoPorAreaCanaDeOutrosText.setText("55");
        }
        if (Objects.equals(pesoPercentualAlambique, (Double)0.0) || pesoPercentualAlambique > 1.0) {
            pesoPercentualAlambique = 1.0;
            pesoPercentualAlambiqueText.setText("100");
        }
        if (Objects.equals(areaPercentualAlambique, (Double)0.0) || areaPercentualAlambique > 1.0) {
            areaPercentualAlambique = 1.0;
            areaPercentualAlambiqueText.setText("100");
        }
        
        pesoTotalCana = pesoCanaPropria + pesoCanaConsorciada + pesoCanaDeOutros +
                pesoPorAreaCanaPropria*areaCanaPropria + pesoPorAreaCanaConsorciada*
                areaPercentualAlambique*areaCanaConsorciada + pesoPorAreaCanaDeOutros*
                areaCanaDeOutros;
        
        areaTotalCana = areaCanaPropria + areaCanaDeOutros + areaCanaConsorciada*
                areaPercentualAlambique + pesoCanaPropria/pesoPorAreaCanaPropria
                + pesoCanaConsorciada/pesoPorAreaCanaConsorciada + pesoCanaDeOutros/
                pesoPorAreaCanaDeOutros;
        
        volumeTotalCachacaEmLitros = pesoTotalCana*90;
        
        volumeCachacaProduzidaText.setText(formatDouble(volumeTotalCachacaEmLitros));
        totalCanaUtilizadaAreaText.setText(formatDouble(areaTotalCana));
        totalCanaUtilizadaPesoText.setText(formatDouble(pesoTotalCana));
        
        sequestroDeCarbonoArea = areaTotalCana - areaCanaDeOutros - pesoCanaDeOutros/
                pesoPorAreaCanaDeOutros;
        sequestroDeCarbonoPeso = pesoTotalCana - pesoCanaDeOutros - areaCanaDeOutros*
                pesoPorAreaCanaDeOutros;
        
        sequestroCarbonoTotal = sequestroDeCarbonoArea*15.5;
        
        sequestroDeCarbonoAreaText.setText(formatDouble(sequestroDeCarbonoArea));
        sequestroDeCarbonoPesoText.setText(formatDouble(sequestroDeCarbonoPeso));
        sequestroDeCarbonoTotalText.setText(formatDouble(sequestroCarbonoTotal));
        
        emissaoDeCarbonoPorFermentacaoAux = pesoTotalCana*0.0381;
        emissaoDeCarbonoPorFermentacaoTextLabel.setText(formatDouble(emissaoDeCarbonoPorFermentacaoAux));
        
        volumeVinhaca = pesoTotalCana;
        volumeVinhacaText.setText(formatDouble(volumeVinhaca));
        
        updateFinalBalance(sequestroCarbonoTotal);
        return true;
    }

    private boolean calcularPlanilha3() {
        formatoInvalidoLabel1.setVisible(false);
        emissaoDeCarbonoPorQueimaText.setText(null);
        saldoSequestroCarbonoPlanilha2Text.setText(null);
        updateFinalBalance(emissaoDeCarbonoPorQueima);
        emissaoDeCarbonoPorQueima = 0.0;
        try {
            percentualDeCanavialQueimado = parseText(percentualDeCanavialQueimadoPanelText)/100;
        } catch (ParseException e) {
            formatoInvalidoLabel1.setVisible(true);
            return false;
        }
        
        if ((Objects.equals(percentualDeCanavialQueimado, 0.0))) {
            percentualDeCanavialQueimadoPanelText.setText("0");
        }
        else if (percentualDeCanavialQueimado > (Double)1.0) {
            percentualDeCanavialQueimado = 1.0;
            percentualDeCanavialQueimadoPanelText.setText("100");
        }
        
        emissaoDeCarbonoPorQueima = sequestroDeCarbonoArea*(percentualDeCanavialQueimado*1.5 +
                (1 - percentualDeCanavialQueimado)*1.1);
        
        emissaoDeCarbonoPorQueimaText.setText(formatDouble(emissaoDeCarbonoPorQueima));
        
       saldoSequestroCarbonoPlanilha2 = sequestroCarbonoTotal - emissaoDeCarbonoPorQueima;
       
       saldoSequestroCarbonoPlanilha2Text.setText((saldoSequestroCarbonoPlanilha2 > 0.0 ? "+" : "") + 
               formatDouble(saldoSequestroCarbonoPlanilha2));
       
        updateFinalBalance(-emissaoDeCarbonoPorQueima);
        
        return true;
    }

    private boolean calcularPlanilha4() {
        
        formatoInvalidoLabel2.setVisible(false);
        emissaoDeCarbonoPorMoagemText.setText(null);
        saldoSequestroCarbonoPlanilha3Text.setText(null);
        updateFinalBalance(emissaoDeCarbonoPorMoagem+emissaoDeCarbonoPorFermentacao);
        emissaoDeCarbonoPorMoagem=0.0;
        emissaoDeCarbonoPorFermentacao=0.0;
        try {
            consumoMotorEletrico = parseText(consumoDeMotoresMoagemEletricoText);
            consumoMotorDiesel = parseText(consumoDeMotoresMoagemDieselText);
        } catch (ParseException e) {
            formatoInvalidoLabel2.setVisible(true);
            return false;
        }
        
        consumoDeMotoresMoagemEletricoText.setText(formatDouble(consumoMotorEletrico));
        consumoDeMotoresMoagemDieselText.setText(formatDouble(consumoMotorDiesel));
        emissaoDeCarbonoPorMoagem = consumoMotorEletrico*0.00005 + consumoMotorDiesel*
                0.0027;
        
        emissaoDeCarbonoPorMoagemText.setText(formatDouble(emissaoDeCarbonoPorMoagem));
        emissaoDeCarbonoPorFermentacao = emissaoDeCarbonoPorFermentacaoAux;
        
        saldoSequestroCarbonoPlanilha3 = sequestroCarbonoTotal - emissaoDeCarbonoPorMoagem
                - emissaoDeCarbonoPorFermentacao;
        saldoSequestroCarbonoPlanilha3Text.setText((saldoSequestroCarbonoPlanilha3 > 0 ? "+":"")+
            formatDouble(saldoSequestroCarbonoPlanilha3));
        
        updateFinalBalance(-(emissaoDeCarbonoPorMoagem + emissaoDeCarbonoPorFermentacao));
        return true;
    }
    
    private boolean calcularPlanilha5() {
        formatoInvalidoLabel3.setVisible(false);
        emissaoDeCarbonoPelaDestinacaoBagacoText.setText(null);
        saldoSequestroCarbonoPlanilha4Text.setText(null);
        pesoTotalDeBagacoText.setText(null);
        totalBagacoCalculadoText.setText(null);
        updateFinalBalance(-emissaoDeCarbonoPelaDestinacaoBagaco);
        emissaoDeCarbonoPelaDestinacaoBagaco = 0.0;
        
        try {
            percentualDeCanaConvertidaEmBagaco = parseText(percentualDeCanaConvertidaEmBagacoText)/100;
            destinoDoBagacoLixo = parseText(destinoDoBagacoLixoText);
            destinoDoBagacoAlimentacaoAnimal = parseText(destinoDoBagacoAlimentacaoAnimalText);
            destinoDoBagacoCompostagem = parseText(destinoDoBagacoCompostagemText);
            destinoDoBagacoQueima = parseText(destinoDoBagacoQueimaText);
        } catch(ParseException e) {
            formatoInvalidoLabel3.setVisible(true);
            return false;
        }
       
        if (Objects.equals(percentualDeCanaConvertidaEmBagaco, (Double)0.0)) {
            percentualDeCanaConvertidaEmBagaco = 0.375;
            percentualDeCanaConvertidaEmBagacoText.setText(formatDouble(37.5));
        }
        
        pesoTotalDoBagaco = percentualDeCanaConvertidaEmBagaco*pesoTotalCana;
        pesoTotalDeBagacoText.setText(formatDouble(pesoTotalDoBagaco));
        
        if (destinoDoBagacoAlimentacaoAnimalM3Button.isSelected()) {
            destinoDoBagacoAlimentacaoAnimal /= 10; 
        }
        else if (destinoDoBagacoAlimentacaoAnimalPercentualButton.isSelected()) {
            destinoDoBagacoAlimentacaoAnimal = destinoDoBagacoAlimentacaoAnimal*
                    pesoTotalDoBagaco/100; 
        }

        if (destinoDoBagacoCompostagemUnityM3Butoon.isSelected()) {
            destinoDoBagacoCompostagem /= 10;
        }
        else if (destinoDoBagacoCompostagemUnityPercentualButton.isSelected()) {
            destinoDoBagacoCompostagem = destinoDoBagacoCompostagem*pesoTotalDoBagaco/100;
        }
        
        if (destinoDoBagacoLixoUnityM3Button.isSelected()) {
            destinoDoBagacoLixo /= 10;
        }
        else if (destinoDoBagacoLixoUnityPercentualButton.isSelected()) {
            destinoDoBagacoLixo = destinoDoBagacoLixo*pesoTotalDoBagaco/100;
        }
        
        if (destinoDoBagacoQueimaUnityM3Button.isSelected()) {
            destinoDoBagacoQueima /= 10;
        }
        else if (destinoDoBagacoQueimaUnityPercentualButton.isSelected()) {
            destinoDoBagacoQueima = destinoDoBagacoQueima*pesoTotalDoBagaco/100;
        } 
        
        pesoTotalBagacoCalculado = destinoDoBagacoQueima + destinoDoBagacoLixo + destinoDoBagacoCompostagem
                + destinoDoBagacoAlimentacaoAnimal;
        
        totalBagacoCalculadoText.setText(formatDouble(pesoTotalBagacoCalculado));
        
        emissaoDeCarbonoPelaDestinacaoBagaco = destinoDoBagacoLixo*1.97 + destinoDoBagacoQueima*0.8879
                + destinoDoBagacoCompostagem*0.839 + destinoDoBagacoAlimentacaoAnimal*0.62;
        emissaoDeCarbonoPelaDestinacaoBagacoText.setText(formatDouble(emissaoDeCarbonoPelaDestinacaoBagaco));
        
        saldoSequestroCarbonoPlanilha4 = sequestroCarbonoTotal - emissaoDeCarbonoPelaDestinacaoBagaco;
        saldoSequestroCarbonoPlanilha4Text.setText((saldoSequestroCarbonoPlanilha4 > 0 ? "+":"")+
                formatDouble(saldoSequestroCarbonoPlanilha4));
        
        updateFinalBalance(-emissaoDeCarbonoPelaDestinacaoBagaco);

        return true;
    }
    
    private boolean calcularPlanilha6() {
        formatoInvalidoLabel4.setVisible(false);
        emissaoDeCarbonoPelaDestinacaoVinhacaText.setText(null);
        emissaoDeCarbonoPorEletricidadeText.setText(null);
        saldoSequestroCarbonoPlanilha5Text.setText(null);
        updateFinalBalance(emissaoDeCarbonoPelaDestinacaoVinhaca + emissaoDeCarbonoPorEletricidade);
        emissaoDeCarbonoPelaDestinacaoVinhaca = 0.0;
        emissaoDeCarbonoPorEletricidade = 0.0;
        
        try {
            consumoEletricoTotal = parseText(consumoEletricoTotalText);
            destinoVinhacaAdubacaoCrua = parseText(destinoVinhacaAdubacaoCruaText);
            destinoVinhacaAdubacaoQueimada = parseText(destinoVinhacaAdubacaoQueimadaText);
            destinoVinhacaCompostagem = parseText(destinoVinhacaCompostagemText);
            destinoVinhacaLixo = parseText(destinoVinhacaLixoText);
        } catch (ParseException e) {
            formatoInvalidoLabel4.setVisible(true);
            return false;
        }
        
        if (destinoVinhacaAdubacaoCruaUnityPercentualButton.isSelected())
            destinoVinhacaAdubacaoCrua *= volumeVinhaca/100;
        if (destinoVinhacaAdubacaoQueimadaUnityPercentualButton.isSelected())
            destinoVinhacaAdubacaoQueimada *= volumeVinhaca/100;
        if (destinoVinhacaCompostagemUnityPercentualPanel.isSelected())
            destinoVinhacaCompostagem *= volumeVinhaca/100;
        if (destinoVinhacaLixoUnityPercentualButton.isSelected())
            destinoVinhacaLixo *= volumeVinhaca/100;
        
        totalVinhacaCalculado = destinoVinhacaAdubacaoCrua+destinoVinhacaAdubacaoQueimada+
                destinoVinhacaCompostagem+destinoVinhacaLixo;
        totalVinhacaCalculadoText.setText(formatDouble(totalVinhacaCalculado));     
        
        emissaoDeCarbonoPelaDestinacaoVinhaca = destinoVinhacaAdubacaoCrua*0.147+
                destinoVinhacaAdubacaoQueimada*0.239 + destinoVinhacaCompostagem*
                0.012 + destinoVinhacaLixo*2;
        emissaoDeCarbonoPelaDestinacaoVinhacaText.setText(formatDouble(emissaoDeCarbonoPelaDestinacaoVinhaca));
     
        emissaoDeCarbonoPorEletricidade = 0.05*consumoEletricoTotal/1000;
        emissaoDeCarbonoPorEletricidadeText.setText(formatDouble(emissaoDeCarbonoPorEletricidade));
        
        saldoSequestroCarbonoPlanilha5 = sequestroCarbonoTotal - emissaoDeCarbonoPelaDestinacaoVinhaca
                - emissaoDeCarbonoPorEletricidade;
        saldoSequestroCarbonoPlanilha5Text.setText((saldoSequestroCarbonoPlanilha5>0?"+":"")+
                formatDouble(saldoSequestroCarbonoPlanilha5));
        
        updateFinalBalance(-emissaoDeCarbonoPelaDestinacaoVinhaca-emissaoDeCarbonoPorEletricidade);
        return true;
    }
    
    private boolean calcularPlanilha7() {
        formatoInvalidoLabel5.setVisible(false);
        lixoOrganicoTotalProduzidoText.setText(null);
        emissaoDeCarbonoPorLixoOrganicoText.setText(null);
        emissaoDeCarbonoPorVeiculosText.setText(null);
        updateFinalBalance(emissaoDeCarbonoPorLixoOrganico+emissaoDeCarbonoPorVeiculos);
        emissaoDeCarbonoPorLixoOrganico = 0.0;
        emissaoDeCarbonoPorVeiculos = 0.0;
        
        try {
            usoDeVeiculosSafraFuncionarios = parseText(usoDeVeiculosSafraFuncionariosText);
            usoDeVeiculosSafraCaminhoes = parseText(usoDeVeiculosSafraCaminhoesText);
            usoDeVeiculosSafraMotos = parseText(usoDeVeiculosSafraMotosText);
            usoDeVeiculosSafraProprietarios = parseText(usoDeVeiculosSafraProprietariosText);
            usoDeVeiculosSafraTratores = parseText(usoDeVeiculosSafraTratoresText);
            producaoLixoOrganico = parseText(producaoLixoOrganicoText);
        } catch (ParseException e) {
            formatoInvalidoLabel5.setVisible(true);
            return false;
        }
        
        emissaoDeCarbonoPorVeiculos = 0.14*(usoDeVeiculosSafraFuncionarios+
                usoDeVeiculosSafraProprietarios)/1000+
                usoDeVeiculosSafraMotos*0.1/1000+(usoDeVeiculosSafraTratores+
                usoDeVeiculosSafraCaminhoes)*0.00273;
        emissaoDeCarbonoPorVeiculosText.setText(formatDouble(emissaoDeCarbonoPorVeiculos));
        
        if (producaoLixoOrganicoUnitySemanaButton.isSelected())
            lixoOrganicoTotalProduzido = producaoLixoOrganico*51;
        else
            lixoOrganicoTotalProduzido = producaoLixoOrganico*51/4;
        lixoOrganicoTotalProduzidoText.setText(formatDouble(lixoOrganicoTotalProduzido));
        emissaoDeCarbonoPorLixoOrganico = lixoOrganicoTotalProduzido*0.002;
        emissaoDeCarbonoPorLixoOrganicoText.setText(formatDouble(emissaoDeCarbonoPorLixoOrganico));
        
        saldoSequestroCarbonoPlanilha6 = saldoTotalSequestroCarbono - emissaoDeCarbonoPorVeiculos
                -emissaoDeCarbonoPorLixoOrganico;
        
        saldoSequestroCarbonoPlanilha6Text.setText((saldoSequestroCarbonoPlanilha6>0?"+":"")+
                formatDouble(saldoSequestroCarbonoPlanilha6));
        
        updateFinalBalance(-emissaoDeCarbonoPorLixoOrganico-emissaoDeCarbonoPorVeiculos);
        
        
        
        
        return true;
    }

    /**
     * ^^^^^^ MEUS METODOS
     */
    /**
     * Creates new form CalculadoraGUI
     */
    public CalculadoraGUI() {
        initComponents();
        initMyComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        destinoDoBagacoLixoUnityButtonGroup = new javax.swing.ButtonGroup();
        destinoDoBagacoQueimaUnityButtonGroupl = new javax.swing.ButtonGroup();
        destinoDoBagacoCompostagemUnityButtonGroup = new javax.swing.ButtonGroup();
        destinoDoBagacoAlimentacaoAnimalUnityButtonGroup = new javax.swing.ButtonGroup();
        destinoDaVinhacaLixoUnityButtonGroup = new javax.swing.ButtonGroup();
        destinoDaVinhacaAdubacaoQueimadaUnityButtonGroup = new javax.swing.ButtonGroup();
        destinoDaVinhacaAdubacaoCruaUnityButtonGroup = new javax.swing.ButtonGroup();
        destinoDaVinhacaCompostagemUnityButtonGroup = new javax.swing.ButtonGroup();
        lixoOrganicoButtonGroup = new javax.swing.ButtonGroup();
        cabecalhoPanel = new javax.swing.JPanel();
        unicampLogo = new javax.swing.JLabel();
        autores = new javax.swing.JLabel();
        referencia = new javax.swing.JLabel();
        autores1 = new javax.swing.JLabel();
        planilhasCalcs = new javax.swing.JTabbedPane();
        tab1 = new javax.swing.JPanel();
        inicioObservacoesScrollPanel = new javax.swing.JScrollPane();
        inicioObservacoesText = new javax.swing.JTextArea();
        tab2 = new javax.swing.JPanel();
        planilha1CalcularBotao = new javax.swing.JButton();
        pesoCanaPanel = new javax.swing.JPanel();
        pesoCanaPropriaLabel = new javax.swing.JLabel();
        pesoCanaConsorciadaLabel = new javax.swing.JLabel();
        pesoCanaDeOutrosLabel = new javax.swing.JLabel();
        pesoUnityLabel = new javax.swing.JLabel();
        pesoUnityLabel1 = new javax.swing.JLabel();
        pesoUnityLabel2 = new javax.swing.JLabel();
        pesoUnityLabel3 = new javax.swing.JLabel();
        pesoCanaPropriaText = new javax.swing.JTextField();
        pesoCanaConsorciadaText = new javax.swing.JTextField();
        pesoCanaDeOutrosText = new javax.swing.JTextField();
        pesoPercentualAlambiqueText = new javax.swing.JTextField();
        pesoPercentualTituloPanel = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        areaCanaPanel = new javax.swing.JPanel();
        areaCanaPropriaLabel = new javax.swing.JLabel();
        areaCanaConsorciadaLabel = new javax.swing.JLabel();
        areaCanaDeOutrosLabel = new javax.swing.JLabel();
        areaUnityLabel = new javax.swing.JLabel();
        areaUnityLabel1 = new javax.swing.JLabel();
        areaUnityLabel2 = new javax.swing.JLabel();
        areaUnityLabel3 = new javax.swing.JLabel();
        areaCanaPropriaText = new javax.swing.JTextField();
        areaCanaConsorciadaText = new javax.swing.JTextField();
        areaCanaDeOutrosText = new javax.swing.JTextField();
        areaPercentualAlambiqueText = new javax.swing.JTextField();
        areaPercentualTituloPanel = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        totalCanaUtilizadoPanel = new javax.swing.JPanel();
        totalCanaUtilizadaPesoLabel = new javax.swing.JLabel();
        totalCanaUtilizadaAreaLabel = new javax.swing.JLabel();
        totalCanaUtilizadaPesoUnityLabel = new javax.swing.JLabel();
        totalCanaUtilizadaAreaUnityLabel = new javax.swing.JLabel();
        totalCanaUtilizadaPesoText = new javax.swing.JTextField();
        totalCanaUtilizadaAreaText = new javax.swing.JTextField();
        volumeCachacaProduzidaPanel = new javax.swing.JPanel();
        volumeCachacaProduzidaText = new javax.swing.JTextField();
        volumeCachacaProduzidoUnityLabel = new javax.swing.JLabel();
        planilha1Rodape = new javax.swing.JPanel();
        planilha1Rodape1Label = new javax.swing.JLabel();
        planilha1Rodape2Label = new javax.swing.JLabel();
        planilha1RodapeSeparator = new javax.swing.JSeparator();
        planilha1Rodape3Label1 = new javax.swing.JLabel();
        planilha1Rodape3Label = new javax.swing.JLabel();
        planilha1Rodape2Label1 = new javax.swing.JLabel();
        pesoPorAreaCanaPanel = new javax.swing.JPanel();
        pesoPorAreaCanaPropriaLabel = new javax.swing.JLabel();
        pesoPorAreaCanaConsorciadaLabel = new javax.swing.JLabel();
        pesoPorAreaCanaDeOutrosLabel = new javax.swing.JLabel();
        pesoPorAreaUnityLabel = new javax.swing.JLabel();
        pesoPorAreaUnityLabel1 = new javax.swing.JLabel();
        pesoPorAreaUnityLabel2 = new javax.swing.JLabel();
        pesoPorAreaCanaPropriaText = new javax.swing.JTextField();
        pesoPorAreaCanaConsorciadaText = new javax.swing.JTextField();
        pesoPorAreaCanaDeOutrosText = new javax.swing.JTextField();
        formatoInvalidoLabel = new javax.swing.JLabel();
        tab3 = new javax.swing.JPanel();
        planilha2CalcularBotao = new javax.swing.JButton();
        sequestroDeCarbonoPanel = new javax.swing.JPanel();
        sequestroDeCarbonoPesoLabel = new javax.swing.JLabel();
        sequestroDeCarbonoAreaLabel = new javax.swing.JLabel();
        sequestroDeCarbonoTotalLabel = new javax.swing.JLabel();
        sequestroDeCarbonoPesoUnityLabel = new javax.swing.JLabel();
        sequestroDeCarbonoAreaUnityLabel = new javax.swing.JLabel();
        sequestroDeCarbonoTotalUnityLabel = new javax.swing.JLabel();
        sequestroDeCarbonoPesoText = new javax.swing.JTextField();
        sequestroDeCarbonoAreaText = new javax.swing.JTextField();
        sequestroDeCarbonoTotalText = new javax.swing.JTextField();
        percentualDeCanavialQueimadoPanel = new javax.swing.JPanel();
        percentualDeCanavialQueimadoLabel = new javax.swing.JLabel();
        percentualDeCanavialQueimadoPanelText = new javax.swing.JTextField();
        emissaoDeCarbonoPorQueimaPanel = new javax.swing.JPanel();
        emissaoDeCarbonoPorQueimalLabel = new javax.swing.JLabel();
        emissaoDeCarbonoPorQueimaText = new javax.swing.JTextField();
        planilha2RodapePanel = new javax.swing.JPanel();
        planilha2RodapeLabel = new javax.swing.JLabel();
        planilha2RodapeLabel1 = new javax.swing.JLabel();
        planilha2RodapeSeparator = new javax.swing.JSeparator();
        saldoSequestroCarbonoPlanilha2Panel = new javax.swing.JPanel();
        saldoSequestroCarbonoPlanilha2UnityLabel = new javax.swing.JLabel();
        saldoSequestroCarbonoPlanilha2Text = new javax.swing.JTextField();
        formatoInvalidoLabel1 = new javax.swing.JLabel();
        tab4 = new javax.swing.JPanel();
        consumoDeMotoresMoagemPanel = new javax.swing.JPanel();
        consumoDeMotoresMoagemEletricoLabel = new javax.swing.JLabel();
        consumoDeMotoresMoagemDieselLabel = new javax.swing.JLabel();
        consumoDeMotoresMoagemEletricoUnityLabel = new javax.swing.JLabel();
        consumoDeMotoresMoagemDieselUnityLabel = new javax.swing.JLabel();
        consumoDeMotoresMoagemEletricoText = new javax.swing.JTextField();
        consumoDeMotoresMoagemDieselText = new javax.swing.JTextField();
        planilha3BotaoCalcular = new javax.swing.JButton();
        emissaoDeCarbonoPorMoagemPanel = new javax.swing.JPanel();
        emissaoDeCarbonoPorMoagemUnityLabel = new javax.swing.JLabel();
        emissaoDeCarbonoPorMoagemText = new javax.swing.JTextField();
        emissaoDeCarbonoPorFermentacaoPanel = new javax.swing.JPanel();
        emissaoDeCarbonoPorFermentacaoUnityLabel = new javax.swing.JLabel();
        emissaoDeCarbonoPorFermentacaoTextLabel = new javax.swing.JTextField();
        saldoSesquetroCarbonoPlanilha3Panel = new javax.swing.JPanel();
        saldoSesquetroCarbonoPlanilha3UnityLabel = new javax.swing.JLabel();
        saldoSequestroCarbonoPlanilha3Text = new javax.swing.JTextField();
        planilha3RodapePanel = new javax.swing.JPanel();
        planilha3RodapeLabel = new javax.swing.JLabel();
        planilha3RodapeLabel1 = new javax.swing.JLabel();
        planilha3RodapeLabel2 = new javax.swing.JLabel();
        planilha3RodapeSeparator = new javax.swing.JSeparator();
        planilha3RodapeLabel3 = new javax.swing.JLabel();
        formatoInvalidoLabel2 = new javax.swing.JLabel();
        tab5 = new javax.swing.JPanel();
        percentualDeCanaConvertidaEmBagaçoPanel = new javax.swing.JPanel();
        percentualDeCanaConvertidaEmBagacoLabel = new javax.swing.JLabel();
        percentualDeCanaConvertidaEmBagacoText = new javax.swing.JTextField();
        pesoTotalDeBagacoText = new javax.swing.JTextField();
        pesoTotalDeBagacoLabel = new javax.swing.JLabel();
        destinoDoBagacoPanel = new javax.swing.JPanel();
        destinoDoBagacoLixoLabel = new javax.swing.JLabel();
        destinoDoBagacoQuemaLabel = new javax.swing.JLabel();
        destinoDoBagacoCompostagemLabel = new javax.swing.JLabel();
        destinoDoBagacoAlimentacaoAnimalLabel = new javax.swing.JLabel();
        destinoDoBagacoLixoText = new javax.swing.JTextField();
        destinoDoBagacoQueimaText = new javax.swing.JTextField();
        destinoDoBagacoCompostagemText = new javax.swing.JTextField();
        destinoDoBagacoAlimentacaoAnimalText = new javax.swing.JTextField();
        destinoDoBagacoLixoUnityPanel = new javax.swing.JPanel();
        destinoDoBagacoLixoUnityM3Button = new javax.swing.JRadioButton();
        destinoDoBagacoLixoUnityPercentualButton = new javax.swing.JRadioButton();
        destinoDoBagacoLixoUnityTonButton = new javax.swing.JRadioButton();
        destinoDoBagacoQueimaUnityPanel = new javax.swing.JPanel();
        destinoDoBagacoQueimaUnityM3Button = new javax.swing.JRadioButton();
        destinoDoBagacoQueimaUnityPercentualButton = new javax.swing.JRadioButton();
        destinoDoBagacoQueimaUnityTonButton = new javax.swing.JRadioButton();
        destinoDoBagacoCompostagemUnityPanel = new javax.swing.JPanel();
        destinoDoBagacoCompostagemUnityM3Butoon = new javax.swing.JRadioButton();
        destinoDoBagacoCompostagemUnityPercentualButton = new javax.swing.JRadioButton();
        destinoDoBagacoCompostagemUnityTonButton = new javax.swing.JRadioButton();
        destinoDoBagacoAlimentacaoAnimalPanel = new javax.swing.JPanel();
        destinoDoBagacoAlimentacaoAnimalM3Button = new javax.swing.JRadioButton();
        destinoDoBagacoAlimentacaoAnimalPercentualButton = new javax.swing.JRadioButton();
        destinoDoBagacoAlimentacaoAnimalTonButton = new javax.swing.JRadioButton();
        totalBagacoCalculadoLabel = new javax.swing.JLabel();
        totalBagacoCalculadoText = new javax.swing.JTextField();
        destinoDoBagacoAlimentacaoAnimalLabel2 = new javax.swing.JLabel();
        planilha4BotaoCalcular = new javax.swing.JButton();
        emissaoDeCarbonoPelaDestinacaoBagacoPanel = new javax.swing.JPanel();
        emissaoDeCarbonoPelaDestinacaoBagacoUnityLabel = new javax.swing.JLabel();
        emissaoDeCarbonoPelaDestinacaoBagacoText = new javax.swing.JTextField();
        saldoSesquetroCarbonoPlanilha4Panel = new javax.swing.JPanel();
        saldoSesquetroCarbonoPlanilha4UnityLabel = new javax.swing.JLabel();
        saldoSequestroCarbonoPlanilha4Text = new javax.swing.JTextField();
        planilha4RodapePanel = new javax.swing.JPanel();
        planilha4Rodape1Label = new javax.swing.JLabel();
        planilha4Rodape2Label = new javax.swing.JLabel();
        planilha4Rodape3Label = new javax.swing.JLabel();
        planilha4RodapeSeparator = new javax.swing.JSeparator();
        planilha4Rodape4Label = new javax.swing.JLabel();
        planilha4Rodape4Label1 = new javax.swing.JLabel();
        formatoInvalidoLabel3 = new javax.swing.JLabel();
        destinoVinhacaCompostagemUnityLabel2 = new javax.swing.JPanel();
        volumeVinhacaPanel = new javax.swing.JPanel();
        volumeVinhacaText = new javax.swing.JTextField();
        volumeVinhacaLabel = new javax.swing.JLabel();
        destinoVinhacaPanel = new javax.swing.JPanel();
        destinoVinhacaLixoLabel = new javax.swing.JLabel();
        destinoVinhacaAdubacaoQueimadaLabel = new javax.swing.JLabel();
        destinoVinhacaAdubacaoCruaLabel = new javax.swing.JLabel();
        destinoVinhacaCompostagemLabel = new javax.swing.JLabel();
        destinoVinhacaLixoText = new javax.swing.JTextField();
        destinoVinhacaAdubacaoQueimadaText = new javax.swing.JTextField();
        destinoVinhacaAdubacaoCruaText = new javax.swing.JTextField();
        destinoVinhacaCompostagemText = new javax.swing.JTextField();
        destinoVinhacaLixoUnityPanel = new javax.swing.JPanel();
        destinoVinhacaLixoUnityM3Button = new javax.swing.JRadioButton();
        destinoVinhacaLixoUnityPercentualButton = new javax.swing.JRadioButton();
        destinoVinhacaAdubacaoQueimadaUnityPanel = new javax.swing.JPanel();
        destinoVinhacaAdubacaoQueimadaUnityM3Button = new javax.swing.JRadioButton();
        destinoVinhacaAdubacaoQueimadaUnityPercentualButton = new javax.swing.JRadioButton();
        destinoVinhacaAdubacaoCruaUnityPanel = new javax.swing.JPanel();
        destinoVinhacaAdubacaoCruaUnityM3Button = new javax.swing.JRadioButton();
        destinoVinhacaAdubacaoCruaUnityPercentualButton = new javax.swing.JRadioButton();
        destinoVinhacaCompostagemUnityPanel = new javax.swing.JPanel();
        destinoVinhacaCompostagemUnityM3Panel = new javax.swing.JRadioButton();
        destinoVinhacaCompostagemUnityPercentualPanel = new javax.swing.JRadioButton();
        totalVinhacaCalculadoText = new javax.swing.JTextField();
        totalVinhacaCalculadoLabel = new javax.swing.JLabel();
        destinoVinhacaCompostagemLabel2 = new javax.swing.JLabel();
        consumoEletricoTotalPanel = new javax.swing.JPanel();
        consumoEletricoTotalText = new javax.swing.JTextField();
        consumoEletricoTotalUnityLabel = new javax.swing.JLabel();
        planilha5BotaoCalcular = new javax.swing.JButton();
        emissaoDeCarbonoPelaDestinacaoVinhacaPanel = new javax.swing.JPanel();
        emissaoDeCarbonoPelaDestinacaoVinhacaLabel = new javax.swing.JLabel();
        emissaoDeCarbonoPelaDestinacaoVinhacaText = new javax.swing.JTextField();
        emissaoDeCarbonoPorEletricidadePanel = new javax.swing.JPanel();
        emissaoDeCarbonoPorEletricidadeUnityLabel = new javax.swing.JLabel();
        emissaoDeCarbonoPorEletricidadeText = new javax.swing.JTextField();
        saldoSesquetroCarbonoPlanilha5Panel = new javax.swing.JPanel();
        saldoSesquetroCarbonoPlanilha5UnityLabel = new javax.swing.JLabel();
        saldoSequestroCarbonoPlanilha5Text = new javax.swing.JTextField();
        planilha5RodapePanel = new javax.swing.JPanel();
        planilha5Rodape1Label = new javax.swing.JLabel();
        planilha5RodapeSeparator = new javax.swing.JSeparator();
        planilha5Rodape2Label = new javax.swing.JLabel();
        planilha5Rodape3Label = new javax.swing.JLabel();
        formatoInvalidoLabel4 = new javax.swing.JLabel();
        tab7 = new javax.swing.JPanel();
        producaoLixoOrganicoPanel = new javax.swing.JPanel();
        producaoLixoOrganicoText = new javax.swing.JTextField();
        producaoLixoOrganicoUnityPanel = new javax.swing.JPanel();
        producaoLixoOrganicoUnityMesButton = new javax.swing.JRadioButton();
        producaoLixoOrganicoUnitySemanaButton = new javax.swing.JRadioButton();
        usoDeVeiculosSafraPanel = new javax.swing.JPanel();
        usoDeVeiculosSafraFuncionariosLabel = new javax.swing.JLabel();
        usoDeVeiculosSafraProprietariosLabel = new javax.swing.JLabel();
        usoDeVeiculosSafraMotosLabel = new javax.swing.JLabel();
        usoDeVeiculosSafraFuncionariosUnityLabel = new javax.swing.JLabel();
        usoDeVeiculosSafraProprietariosUnityLabel = new javax.swing.JLabel();
        usoDeVeiculosSafraMotosUnityLabel = new javax.swing.JLabel();
        usoDeVeiculosSafraFuncionariosText = new javax.swing.JTextField();
        usoDeVeiculosSafraProprietariosText = new javax.swing.JTextField();
        usoDeVeiculosSafraMotosText = new javax.swing.JTextField();
        usoDeVeiculosSafraTratoresLabel = new javax.swing.JLabel();
        usoDeVeiculosSafraCaminhoesLabel = new javax.swing.JLabel();
        usoDeVeiculosSafraTratoresText = new javax.swing.JTextField();
        usoDeVeiculosSafraCaminhoesText = new javax.swing.JTextField();
        usoDeVeiculosSafraTratoresUnityLabel = new javax.swing.JLabel();
        usoDeVeiculosSafraCaminhoesUnityLabel = new javax.swing.JLabel();
        planilha6BotaoCalcular = new javax.swing.JButton();
        lixoOrganicoTotalProduzidoPanel = new javax.swing.JPanel();
        lixoOrganicoTotalProduzidoText = new javax.swing.JTextField();
        lixoOrganicoTotalProduzidoUnityLabel = new javax.swing.JLabel();
        emissaoDeCarbonoPorLixoOrganicoPanel = new javax.swing.JPanel();
        emissaoDeCarbonoPorLixoOrganicoUnityLabel = new javax.swing.JLabel();
        emissaoDeCarbonoPorLixoOrganicoText = new javax.swing.JTextField();
        emissaoDeCarbonoPorVeiculosPanel = new javax.swing.JPanel();
        emissaoDeCarbonoPorVeiculosUnityLabel = new javax.swing.JLabel();
        emissaoDeCarbonoPorVeiculosText = new javax.swing.JTextField();
        saldoSesquetroCarbonoPlanilha6Panel = new javax.swing.JPanel();
        saldoSesquetroCarbonoPlanilha6UnityLabel = new javax.swing.JLabel();
        saldoSequestroCarbonoPlanilha6Text = new javax.swing.JTextField();
        planilha6RodapePanel = new javax.swing.JPanel();
        planilha6Rodape1Label = new javax.swing.JLabel();
        planilha6RodapeSeparator = new javax.swing.JSeparator();
        planilha6Rodape2Label = new javax.swing.JLabel();
        planilha6Rodape3Label = new javax.swing.JLabel();
        planilha6Rodape4Label = new javax.swing.JLabel();
        formatoInvalidoLabel5 = new javax.swing.JLabel();
        tab8 = new javax.swing.JPanel();
        saldoTotalSesquetroCarbonoPanel = new javax.swing.JPanel();
        saldoTotalSesquetroCarbonoLabel = new javax.swing.JLabel();
        saldoTotalSesquetroCarbonoText = new javax.swing.JTextField();
        compensacaoCarbonoPanel = new javax.swing.JPanel();
        compensacaoCarbonoMudasUnityLabel = new javax.swing.JLabel();
        compensacaoCarbonoMudasText = new javax.swing.JTextField();
        compensacaoCarbonoAreaText = new javax.swing.JTextField();
        compensacaoCarbonoAreaUnityLabel = new javax.swing.JLabel();
        compensacaoCarbonoMudasLabel = new javax.swing.JLabel();
        compensacaoCarbonoAreaLabel = new javax.swing.JLabel();
        planilha7RodapePanel = new javax.swing.JPanel();
        planilha7Rodape1Label = new javax.swing.JLabel();
        planilha7RodapeSeparator = new javax.swing.JSeparator();
        planilha7Rodape2Label = new javax.swing.JLabel();
        planilha7Rodape3Label = new javax.swing.JLabel();
        reinciarLayerFrame = new javax.swing.JLayeredPane();
        botaoReiniciarButton = new javax.swing.JButton();
        desejaReinciarFrame = new javax.swing.JInternalFrame();
        desejaReinciarSimButton = new javax.swing.JButton();
        desejaReinciarNaoButton = new javax.swing.JButton();
        desejaReinciarLabel = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(800, 600));

        cabecalhoPanel.setMaximumSize(new java.awt.Dimension(800, 100));
        cabecalhoPanel.setMinimumSize(new java.awt.Dimension(800, 100));
        cabecalhoPanel.setPreferredSize(new java.awt.Dimension(800, 100));

        autores.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        autores.setText("Autores: George Gondim Ribeiro, Matheus Pacheco Vieira, Olavo Bet");

        referencia.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        referencia.setText("Trabalho baseado na versão em Excel do Prof. Carlos Fernando S. de Andrade");

        autores1.setFont(new java.awt.Font("Tahoma", 0, 10)); // NOI18N
        autores1.setText("contato: gondimribeiro@gmail.com");

        javax.swing.GroupLayout cabecalhoPanelLayout = new javax.swing.GroupLayout(cabecalhoPanel);
        cabecalhoPanel.setLayout(cabecalhoPanelLayout);
        cabecalhoPanelLayout.setHorizontalGroup(
            cabecalhoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(cabecalhoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(unicampLogo)
                .addGroup(cabecalhoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(cabecalhoPanelLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(cabecalhoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(autores)
                            .addComponent(referencia)))
                    .addGroup(cabecalhoPanelLayout.createSequentialGroup()
                        .addGap(521, 521, 521)
                        .addComponent(autores1)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        cabecalhoPanelLayout.setVerticalGroup(
            cabecalhoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(cabecalhoPanelLayout.createSequentialGroup()
                .addGroup(cabecalhoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(cabecalhoPanelLayout.createSequentialGroup()
                        .addComponent(referencia)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(autores)
                        .addGap(18, 18, 18)
                        .addComponent(autores1))
                    .addComponent(unicampLogo))
                .addGap(0, 29, Short.MAX_VALUE))
        );

        planilhasCalcs.setMaximumSize(new java.awt.Dimension(800, 500));
        planilhasCalcs.setMinimumSize(new java.awt.Dimension(800, 500));
        planilhasCalcs.setPreferredSize(new java.awt.Dimension(800, 500));

        inicioObservacoesText.setEditable(false);
        inicioObservacoesText.setColumns(20);
        inicioObservacoesText.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        inicioObservacoesText.setRows(5);
        inicioObservacoesText.setText("Olá, bem vindo à calculadora de emissão e de sequestro de carbono para cachaçarias!\n\nEste trabalho foi realizado para a disiciplina BE310 - Ciências do Ambiente da Unicamp,\ncom o apoio e com o base em um trabalho do professor Carlos Fernando S. de Andrade.\n\nObservações:\n  1. Todas as saídas i.e. todos os valores gerados pela programa têm seus nomes iniciados\n      com \">\".\n  2. Na aba \"2 - Dados de produção\", insere-se os dados referente a safra.\n  3. Nas aba 3 à 7, são feito cálculos parciais de emissões e de saldo de dióxido de carbono\n      i.e., após preencher todos os dados da aba e pressionar o botão \"Calcular\", serão \n      computados e mostrados os valores para aquele processo. Por exemplo, para a aba\n      \"4 - Moagem e fermentação\", um resultado de +130 toneladas de dióxido de carbono \n      significa que, considerando o sequestro inicial (mostrado na aba \"3 - Queima de canavial\"),\n      os processos da aba ainda tem 130 toneladas de carbono sequestradas da atmosfera. \n  4. A última aba \"8 - Balanço total\", computa o saldo resultante de todos os processos, o que\n      é uma estimativa do quanto uma cachaçaria sequestra de carbono da atmosfera. Ob-\n      serve que o balanço total é atualizado a medida que o processos das outras abas são\n      calculados (após pressionado o botão \"Calcular\"). O botão \"Reiniciar\" desta aba apaga to-\n      dos o campos preechidos e valores calculados.");
        inicioObservacoesScrollPanel.setViewportView(inicioObservacoesText);

        javax.swing.GroupLayout tab1Layout = new javax.swing.GroupLayout(tab1);
        tab1.setLayout(tab1Layout);
        tab1Layout.setHorizontalGroup(
            tab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab1Layout.createSequentialGroup()
                .addGap(69, 69, 69)
                .addComponent(inicioObservacoesScrollPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 600, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(126, Short.MAX_VALUE))
        );
        tab1Layout.setVerticalGroup(
            tab1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab1Layout.createSequentialGroup()
                .addGap(30, 30, 30)
                .addComponent(inicioObservacoesScrollPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 297, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(129, Short.MAX_VALUE))
        );

        planilhasCalcs.addTab("1 - Início", tab1);

        planilha1CalcularBotao.setText("Calcular");
        planilha1CalcularBotao.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                planilha1CalcularBotaoActionPerformed(evt);
            }
        });

        pesoCanaPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Peso de cana produzida*", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        pesoCanaPanel.setToolTipText("");
        pesoCanaPanel.setName("bla"); // NOI18N

        pesoCanaPropriaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        pesoCanaPropriaLabel.setText("Própria");

        pesoCanaConsorciadaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        pesoCanaConsorciadaLabel.setText("Consorciada");
        pesoCanaConsorciadaLabel.setMaximumSize(new java.awt.Dimension(64, 18));
        pesoCanaConsorciadaLabel.setMinimumSize(new java.awt.Dimension(64, 18));

        pesoCanaDeOutrosLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        pesoCanaDeOutrosLabel.setText("De outros");

        pesoUnityLabel.setText("ton");

        pesoUnityLabel1.setText("ton");

        pesoUnityLabel2.setText("ton");

        pesoUnityLabel3.setText("%");

        jLabel1.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jLabel1.setText("Percentual");

        jLabel2.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jLabel2.setText("para");

        jLabel3.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jLabel3.setText("alambique³");

        javax.swing.GroupLayout pesoPercentualTituloPanelLayout = new javax.swing.GroupLayout(pesoPercentualTituloPanel);
        pesoPercentualTituloPanel.setLayout(pesoPercentualTituloPanelLayout);
        pesoPercentualTituloPanelLayout.setHorizontalGroup(
            pesoPercentualTituloPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pesoPercentualTituloPanelLayout.createSequentialGroup()
                .addGroup(pesoPercentualTituloPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel1)
                    .addComponent(jLabel2)
                    .addComponent(jLabel3))
                .addGap(0, 6, Short.MAX_VALUE))
        );
        pesoPercentualTituloPanelLayout.setVerticalGroup(
            pesoPercentualTituloPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pesoPercentualTituloPanelLayout.createSequentialGroup()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 19, Short.MAX_VALUE)
                .addContainerGap())
        );

        javax.swing.GroupLayout pesoCanaPanelLayout = new javax.swing.GroupLayout(pesoCanaPanel);
        pesoCanaPanel.setLayout(pesoCanaPanelLayout);
        pesoCanaPanelLayout.setHorizontalGroup(
            pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pesoCanaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pesoCanaPanelLayout.createSequentialGroup()
                        .addComponent(pesoCanaDeOutrosLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(pesoUnityLabel2))
                    .addGroup(pesoCanaPanelLayout.createSequentialGroup()
                        .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(pesoCanaPropriaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(pesoCanaPanelLayout.createSequentialGroup()
                                .addComponent(pesoPercentualTituloPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(10, 10, 10)
                                .addComponent(pesoPercentualAlambiqueText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(6, 6, 6)
                                .addComponent(pesoUnityLabel3))
                            .addGroup(pesoCanaPanelLayout.createSequentialGroup()
                                .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(pesoCanaPropriaText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(pesoCanaPanelLayout.createSequentialGroup()
                                        .addComponent(pesoCanaConsorciadaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(pesoCanaConsorciadaText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(pesoCanaDeOutrosText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(pesoUnityLabel)
                                    .addComponent(pesoUnityLabel1))))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        pesoCanaPanelLayout.setVerticalGroup(
            pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pesoCanaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pesoCanaPropriaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pesoCanaPropriaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pesoUnityLabel))
                .addGap(18, 18, 18)
                .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(pesoCanaConsorciadaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(pesoUnityLabel1)
                        .addComponent(pesoCanaConsorciadaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(18, 18, 18)
                .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pesoCanaDeOutrosLabel)
                    .addComponent(pesoCanaDeOutrosText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pesoUnityLabel2))
                .addGap(0, 0, Short.MAX_VALUE)
                .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(pesoPercentualTituloPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pesoCanaPanelLayout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addGroup(pesoCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(pesoUnityLabel3)
                            .addComponent(pesoPercentualAlambiqueText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap())
        );

        areaCanaPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Área de cana plantada*", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        areaCanaPanel.setToolTipText("");
        areaCanaPanel.setName("bla"); // NOI18N

        areaCanaPropriaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        areaCanaPropriaLabel.setText("Própria");

        areaCanaConsorciadaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        areaCanaConsorciadaLabel.setText("Consorciada");
        areaCanaConsorciadaLabel.setMaximumSize(new java.awt.Dimension(64, 18));
        areaCanaConsorciadaLabel.setMinimumSize(new java.awt.Dimension(64, 18));

        areaCanaDeOutrosLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        areaCanaDeOutrosLabel.setText("De outros");

        areaUnityLabel.setText("ha");

        areaUnityLabel1.setText("ha");

        areaUnityLabel2.setText("ha");

        areaUnityLabel3.setText("%");

        jLabel4.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jLabel4.setText("Percentual");

        jLabel5.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jLabel5.setText("para");

        jLabel6.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jLabel6.setText("alambique³");

        javax.swing.GroupLayout areaPercentualTituloPanelLayout = new javax.swing.GroupLayout(areaPercentualTituloPanel);
        areaPercentualTituloPanel.setLayout(areaPercentualTituloPanelLayout);
        areaPercentualTituloPanelLayout.setHorizontalGroup(
            areaPercentualTituloPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(areaPercentualTituloPanelLayout.createSequentialGroup()
                .addGroup(areaPercentualTituloPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel4)
                    .addComponent(jLabel5)
                    .addComponent(jLabel6))
                .addGap(0, 6, Short.MAX_VALUE))
        );
        areaPercentualTituloPanelLayout.setVerticalGroup(
            areaPercentualTituloPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(areaPercentualTituloPanelLayout.createSequentialGroup()
                .addComponent(jLabel4)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel5)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, 19, Short.MAX_VALUE)
                .addContainerGap())
        );

        javax.swing.GroupLayout areaCanaPanelLayout = new javax.swing.GroupLayout(areaCanaPanel);
        areaCanaPanel.setLayout(areaCanaPanelLayout);
        areaCanaPanelLayout.setHorizontalGroup(
            areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(areaCanaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(areaCanaPropriaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(areaCanaPanelLayout.createSequentialGroup()
                        .addComponent(areaPercentualTituloPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(10, 10, 10)
                        .addComponent(areaPercentualAlambiqueText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(6, 6, 6)
                        .addComponent(areaUnityLabel3))
                    .addGroup(areaCanaPanelLayout.createSequentialGroup()
                        .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(areaCanaPropriaText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGroup(areaCanaPanelLayout.createSequentialGroup()
                                    .addComponent(areaCanaConsorciadaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addComponent(areaCanaConsorciadaText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addComponent(areaCanaDeOutrosText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(areaCanaDeOutrosLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(areaUnityLabel)
                            .addComponent(areaUnityLabel1)
                            .addComponent(areaUnityLabel2))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        areaCanaPanelLayout.setVerticalGroup(
            areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(areaCanaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(areaCanaPropriaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(areaCanaPropriaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(areaUnityLabel))
                .addGap(18, 18, 18)
                .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(areaCanaConsorciadaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(areaUnityLabel1)
                        .addComponent(areaCanaConsorciadaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(18, 18, 18)
                .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(areaCanaDeOutrosLabel)
                    .addComponent(areaCanaDeOutrosText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(areaUnityLabel2))
                .addGap(0, 15, Short.MAX_VALUE)
                .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(areaPercentualTituloPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(areaCanaPanelLayout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addGroup(areaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(areaUnityLabel3)
                            .addComponent(areaPercentualAlambiqueText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap())
        );

        totalCanaUtilizadoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Total de cana utilizada", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        totalCanaUtilizadoPanel.setToolTipText("");
        totalCanaUtilizadoPanel.setName("bla"); // NOI18N

        totalCanaUtilizadaPesoLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        totalCanaUtilizadaPesoLabel.setText("Peso");

        totalCanaUtilizadaAreaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        totalCanaUtilizadaAreaLabel.setText("Área");

        totalCanaUtilizadaPesoUnityLabel.setText("ton");

        totalCanaUtilizadaAreaUnityLabel.setText("ha");

        totalCanaUtilizadaPesoText.setEditable(false);

        totalCanaUtilizadaAreaText.setEditable(false);

        javax.swing.GroupLayout totalCanaUtilizadoPanelLayout = new javax.swing.GroupLayout(totalCanaUtilizadoPanel);
        totalCanaUtilizadoPanel.setLayout(totalCanaUtilizadoPanelLayout);
        totalCanaUtilizadoPanelLayout.setHorizontalGroup(
            totalCanaUtilizadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(totalCanaUtilizadoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(totalCanaUtilizadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(totalCanaUtilizadaPesoLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(totalCanaUtilizadaAreaLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 46, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(totalCanaUtilizadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(totalCanaUtilizadaAreaText, javax.swing.GroupLayout.DEFAULT_SIZE, 69, Short.MAX_VALUE)
                    .addComponent(totalCanaUtilizadaPesoText))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(totalCanaUtilizadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(totalCanaUtilizadaPesoUnityLabel)
                    .addComponent(totalCanaUtilizadaAreaUnityLabel, javax.swing.GroupLayout.Alignment.TRAILING))
                .addGap(33, 33, 33))
        );
        totalCanaUtilizadoPanelLayout.setVerticalGroup(
            totalCanaUtilizadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(totalCanaUtilizadoPanelLayout.createSequentialGroup()
                .addGroup(totalCanaUtilizadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(totalCanaUtilizadaPesoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(totalCanaUtilizadaPesoUnityLabel)
                    .addComponent(totalCanaUtilizadaPesoLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(totalCanaUtilizadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(totalCanaUtilizadaAreaLabel)
                    .addComponent(totalCanaUtilizadaAreaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(totalCanaUtilizadaAreaUnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        volumeCachacaProduzidaPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Volume de cachaça produzida²", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        volumeCachacaProduzidaPanel.setToolTipText("");
        volumeCachacaProduzidaPanel.setName("bla"); // NOI18N

        volumeCachacaProduzidaText.setEditable(false);

        volumeCachacaProduzidoUnityLabel.setText("L");

        javax.swing.GroupLayout volumeCachacaProduzidaPanelLayout = new javax.swing.GroupLayout(volumeCachacaProduzidaPanel);
        volumeCachacaProduzidaPanel.setLayout(volumeCachacaProduzidaPanelLayout);
        volumeCachacaProduzidaPanelLayout.setHorizontalGroup(
            volumeCachacaProduzidaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(volumeCachacaProduzidaPanelLayout.createSequentialGroup()
                .addGap(42, 42, 42)
                .addComponent(volumeCachacaProduzidaText, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(volumeCachacaProduzidoUnityLabel)
                .addContainerGap(67, Short.MAX_VALUE))
        );
        volumeCachacaProduzidaPanelLayout.setVerticalGroup(
            volumeCachacaProduzidaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(volumeCachacaProduzidaPanelLayout.createSequentialGroup()
                .addGroup(volumeCachacaProduzidaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(volumeCachacaProduzidaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(volumeCachacaProduzidoUnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilha1Rodape1Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha1Rodape1Label.setText("²Em média 1 tonelada de cana produz de 90 litros cachaça (GARCIA & VON SPERLING, 2010).");

        planilha1Rodape2Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha1Rodape2Label.setText("¹Deixar em branco ou igual a zero caso desconhecido, será utilizado valor médio de 55 ton/ha.");

        planilha1Rodape3Label1.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha1Rodape3Label1.setText("*Atenção: pode-se utilizar tanto o peso de cana produzida, quanto a área de cana plantada, desde que os valores inseridos ");

        planilha1Rodape3Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha1Rodape3Label.setText("³Se deixado em branco, será utilzado 100%.");

        planilha1Rodape2Label1.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha1Rodape2Label1.setText("representem produções DISTINTAS. Por exemplo, sua cachaçaria produz 100 ton e 1 ha de cana própria. ");

        javax.swing.GroupLayout planilha1RodapeLayout = new javax.swing.GroupLayout(planilha1Rodape);
        planilha1Rodape.setLayout(planilha1RodapeLayout);
        planilha1RodapeLayout.setHorizontalGroup(
            planilha1RodapeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(planilha1RodapeLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(planilha1RodapeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(planilha1RodapeLayout.createSequentialGroup()
                        .addComponent(planilha1Rodape3Label, javax.swing.GroupLayout.PREFERRED_SIZE, 655, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(planilha1RodapeLayout.createSequentialGroup()
                        .addGroup(planilha1RodapeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(planilha1Rodape2Label1, javax.swing.GroupLayout.PREFERRED_SIZE, 655, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(planilha1Rodape2Label, javax.swing.GroupLayout.PREFERRED_SIZE, 655, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(planilha1Rodape1Label, javax.swing.GroupLayout.PREFERRED_SIZE, 655, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(planilha1Rodape3Label1, javax.swing.GroupLayout.PREFERRED_SIZE, 689, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(planilha1RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 714, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(0, 0, Short.MAX_VALUE))))
        );
        planilha1RodapeLayout.setVerticalGroup(
            planilha1RodapeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, planilha1RodapeLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(planilha1RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha1Rodape3Label1, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha1Rodape2Label1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha1Rodape2Label)
                .addGap(5, 5, 5)
                .addComponent(planilha1Rodape1Label, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha1Rodape3Label, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(5, 5, 5))
        );

        pesoPorAreaCanaPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Peso de cana produzida por área plantada¹", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        pesoPorAreaCanaPanel.setToolTipText("");
        pesoPorAreaCanaPanel.setName("bla"); // NOI18N

        pesoPorAreaCanaPropriaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        pesoPorAreaCanaPropriaLabel.setText("Própria");

        pesoPorAreaCanaConsorciadaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        pesoPorAreaCanaConsorciadaLabel.setText("Consorciada");
        pesoPorAreaCanaConsorciadaLabel.setMaximumSize(new java.awt.Dimension(64, 18));
        pesoPorAreaCanaConsorciadaLabel.setMinimumSize(new java.awt.Dimension(64, 18));

        pesoPorAreaCanaDeOutrosLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        pesoPorAreaCanaDeOutrosLabel.setText("De outros");

        pesoPorAreaUnityLabel.setText("ton/ha");

        pesoPorAreaUnityLabel1.setText("ton/ha");

        pesoPorAreaUnityLabel2.setText("ton/ha");

        javax.swing.GroupLayout pesoPorAreaCanaPanelLayout = new javax.swing.GroupLayout(pesoPorAreaCanaPanel);
        pesoPorAreaCanaPanel.setLayout(pesoPorAreaCanaPanelLayout);
        pesoPorAreaCanaPanelLayout.setHorizontalGroup(
            pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pesoPorAreaCanaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(pesoPorAreaCanaPropriaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pesoPorAreaCanaPanelLayout.createSequentialGroup()
                        .addGroup(pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(pesoPorAreaCanaPropriaText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGroup(pesoPorAreaCanaPanelLayout.createSequentialGroup()
                                    .addComponent(pesoPorAreaCanaConsorciadaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addComponent(pesoPorAreaCanaConsorciadaText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addComponent(pesoPorAreaCanaDeOutrosText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(pesoPorAreaCanaDeOutrosLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(pesoPorAreaUnityLabel)
                            .addComponent(pesoPorAreaUnityLabel1)
                            .addComponent(pesoPorAreaUnityLabel2))))
                .addContainerGap(98, Short.MAX_VALUE))
        );
        pesoPorAreaCanaPanelLayout.setVerticalGroup(
            pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pesoPorAreaCanaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pesoPorAreaCanaPropriaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pesoPorAreaCanaPropriaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pesoPorAreaUnityLabel))
                .addGap(18, 18, 18)
                .addGroup(pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(pesoPorAreaCanaConsorciadaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(pesoPorAreaUnityLabel1)
                        .addComponent(pesoPorAreaCanaConsorciadaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(18, 18, 18)
                .addGroup(pesoPorAreaCanaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pesoPorAreaCanaDeOutrosLabel)
                    .addComponent(pesoPorAreaCanaDeOutrosText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pesoPorAreaUnityLabel2))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        formatoInvalidoLabel.setText("Formato de entrada inválido! ");

        javax.swing.GroupLayout tab2Layout = new javax.swing.GroupLayout(tab2);
        tab2.setLayout(tab2Layout);
        tab2Layout.setHorizontalGroup(
            tab2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab2Layout.createSequentialGroup()
                .addGroup(tab2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(tab2Layout.createSequentialGroup()
                        .addGap(32, 32, 32)
                        .addGroup(tab2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(tab2Layout.createSequentialGroup()
                                .addComponent(pesoCanaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(52, 52, 52)
                                .addComponent(areaCanaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(volumeCachacaProduzidaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(tab2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(tab2Layout.createSequentialGroup()
                                .addGap(50, 50, 50)
                                .addGroup(tab2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(tab2Layout.createSequentialGroup()
                                        .addComponent(planilha1CalcularBotao)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(formatoInvalidoLabel))
                                    .addComponent(pesoPorAreaCanaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(tab2Layout.createSequentialGroup()
                                .addGap(18, 18, 18)
                                .addComponent(totalCanaUtilizadoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(tab2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(planilha1Rodape, javax.swing.GroupLayout.PREFERRED_SIZE, 720, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(0, 24, Short.MAX_VALUE))
        );
        tab2Layout.setVerticalGroup(
            tab2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(tab2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(tab2Layout.createSequentialGroup()
                        .addComponent(pesoPorAreaCanaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(tab2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(planilha1CalcularBotao, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(formatoInvalidoLabel))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(totalCanaUtilizadoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(tab2Layout.createSequentialGroup()
                        .addGroup(tab2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(areaCanaPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(pesoCanaPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(volumeCachacaProduzidaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha1Rodape, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(19, Short.MAX_VALUE))
        );

        planilhasCalcs.addTab("2 - Dados de produção", tab2);

        planilha2CalcularBotao.setText("Calcular");
        planilha2CalcularBotao.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                planilha2CalcularBotaoActionPerformed(evt);
            }
        });

        sequestroDeCarbonoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Sequestro de carbono¹", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        sequestroDeCarbonoPanel.setToolTipText("");
        sequestroDeCarbonoPanel.setName("bla"); // NOI18N

        sequestroDeCarbonoPesoLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        sequestroDeCarbonoPesoLabel.setText("Peso");

        sequestroDeCarbonoAreaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        sequestroDeCarbonoAreaLabel.setText("Área");
        sequestroDeCarbonoAreaLabel.setMaximumSize(new java.awt.Dimension(64, 18));
        sequestroDeCarbonoAreaLabel.setMinimumSize(new java.awt.Dimension(64, 18));

        sequestroDeCarbonoTotalLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        sequestroDeCarbonoTotalLabel.setText("Total");

        sequestroDeCarbonoPesoUnityLabel.setText("ton");

        sequestroDeCarbonoAreaUnityLabel.setText("ha");

        sequestroDeCarbonoTotalUnityLabel.setText("ton de CO₂");

        sequestroDeCarbonoPesoText.setEditable(false);

        sequestroDeCarbonoAreaText.setEditable(false);

        sequestroDeCarbonoTotalText.setEditable(false);

        javax.swing.GroupLayout sequestroDeCarbonoPanelLayout = new javax.swing.GroupLayout(sequestroDeCarbonoPanel);
        sequestroDeCarbonoPanel.setLayout(sequestroDeCarbonoPanelLayout);
        sequestroDeCarbonoPanelLayout.setHorizontalGroup(
            sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(sequestroDeCarbonoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(sequestroDeCarbonoPesoLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(sequestroDeCarbonoPanelLayout.createSequentialGroup()
                        .addGroup(sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(sequestroDeCarbonoTotalLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(sequestroDeCarbonoPesoText, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(sequestroDeCarbonoPanelLayout.createSequentialGroup()
                                .addComponent(sequestroDeCarbonoAreaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(sequestroDeCarbonoTotalText, javax.swing.GroupLayout.DEFAULT_SIZE, 65, Short.MAX_VALUE)
                                    .addComponent(sequestroDeCarbonoAreaText))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(sequestroDeCarbonoPesoUnityLabel)
                            .addComponent(sequestroDeCarbonoAreaUnityLabel)
                            .addComponent(sequestroDeCarbonoTotalUnityLabel))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        sequestroDeCarbonoPanelLayout.setVerticalGroup(
            sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(sequestroDeCarbonoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(sequestroDeCarbonoPesoLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(sequestroDeCarbonoPesoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(sequestroDeCarbonoPesoUnityLabel))
                .addGap(18, 18, 18)
                .addGroup(sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(sequestroDeCarbonoAreaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(sequestroDeCarbonoAreaUnityLabel)
                        .addComponent(sequestroDeCarbonoAreaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(18, 18, 18)
                .addGroup(sequestroDeCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(sequestroDeCarbonoTotalLabel)
                    .addComponent(sequestroDeCarbonoTotalText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(sequestroDeCarbonoTotalUnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        percentualDeCanavialQueimadoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Percentual de canavial queimado", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        percentualDeCanavialQueimadoPanel.setToolTipText("");
        percentualDeCanavialQueimadoPanel.setName("bla"); // NOI18N

        percentualDeCanavialQueimadoLabel.setText("%");

        javax.swing.GroupLayout percentualDeCanavialQueimadoPanelLayout = new javax.swing.GroupLayout(percentualDeCanavialQueimadoPanel);
        percentualDeCanavialQueimadoPanel.setLayout(percentualDeCanavialQueimadoPanelLayout);
        percentualDeCanavialQueimadoPanelLayout.setHorizontalGroup(
            percentualDeCanavialQueimadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(percentualDeCanavialQueimadoPanelLayout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addComponent(percentualDeCanavialQueimadoPanelText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(percentualDeCanavialQueimadoLabel)
                .addContainerGap(62, Short.MAX_VALUE))
        );
        percentualDeCanavialQueimadoPanelLayout.setVerticalGroup(
            percentualDeCanavialQueimadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(percentualDeCanavialQueimadoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(percentualDeCanavialQueimadoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(percentualDeCanavialQueimadoPanelText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(percentualDeCanavialQueimadoLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        emissaoDeCarbonoPorQueimaPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Emissão de carbono por queima de canavial¹", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        emissaoDeCarbonoPorQueimaPanel.setToolTipText("");
        emissaoDeCarbonoPorQueimaPanel.setName("bla"); // NOI18N

        emissaoDeCarbonoPorQueimalLabel.setText("ton de CO₂");

        emissaoDeCarbonoPorQueimaText.setEditable(false);

        javax.swing.GroupLayout emissaoDeCarbonoPorQueimaPanelLayout = new javax.swing.GroupLayout(emissaoDeCarbonoPorQueimaPanel);
        emissaoDeCarbonoPorQueimaPanel.setLayout(emissaoDeCarbonoPorQueimaPanelLayout);
        emissaoDeCarbonoPorQueimaPanelLayout.setHorizontalGroup(
            emissaoDeCarbonoPorQueimaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorQueimaPanelLayout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addComponent(emissaoDeCarbonoPorQueimaText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(emissaoDeCarbonoPorQueimalLabel)
                .addContainerGap(99, Short.MAX_VALUE))
        );
        emissaoDeCarbonoPorQueimaPanelLayout.setVerticalGroup(
            emissaoDeCarbonoPorQueimaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorQueimaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(emissaoDeCarbonoPorQueimaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(emissaoDeCarbonoPorQueimaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPorQueimalLabel))
                .addContainerGap(19, Short.MAX_VALUE))
        );

        planilha2RodapeLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha2RodapeLabel.setText("¹Para estes cálculos de sequestro e de emissão, considerou-se somente a cana própria e o percetual destinado ao alambique da");

        planilha2RodapeLabel1.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha2RodapeLabel1.setText("da cana consorciada");

        javax.swing.GroupLayout planilha2RodapePanelLayout = new javax.swing.GroupLayout(planilha2RodapePanel);
        planilha2RodapePanel.setLayout(planilha2RodapePanelLayout);
        planilha2RodapePanelLayout.setHorizontalGroup(
            planilha2RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(planilha2RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha2RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 714, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 6, Short.MAX_VALUE))
            .addGroup(planilha2RodapePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(planilha2RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(planilha2RodapeLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(planilha2RodapeLabel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        planilha2RodapePanelLayout.setVerticalGroup(
            planilha2RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, planilha2RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha2RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha2RodapeLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha2RodapeLabel1)
                .addContainerGap(50, Short.MAX_VALUE))
        );

        saldoSequestroCarbonoPlanilha2Panel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Saldo parcial de sequestro de carbono", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        saldoSequestroCarbonoPlanilha2Panel.setToolTipText("");
        saldoSequestroCarbonoPlanilha2Panel.setName("bla"); // NOI18N

        saldoSequestroCarbonoPlanilha2UnityLabel.setText("ton de CO₂");

        saldoSequestroCarbonoPlanilha2Text.setEditable(false);

        javax.swing.GroupLayout saldoSequestroCarbonoPlanilha2PanelLayout = new javax.swing.GroupLayout(saldoSequestroCarbonoPlanilha2Panel);
        saldoSequestroCarbonoPlanilha2Panel.setLayout(saldoSequestroCarbonoPlanilha2PanelLayout);
        saldoSequestroCarbonoPlanilha2PanelLayout.setHorizontalGroup(
            saldoSequestroCarbonoPlanilha2PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSequestroCarbonoPlanilha2PanelLayout.createSequentialGroup()
                .addGap(54, 54, 54)
                .addComponent(saldoSequestroCarbonoPlanilha2Text, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(saldoSequestroCarbonoPlanilha2UnityLabel)
                .addContainerGap(76, Short.MAX_VALUE))
        );
        saldoSequestroCarbonoPlanilha2PanelLayout.setVerticalGroup(
            saldoSequestroCarbonoPlanilha2PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSequestroCarbonoPlanilha2PanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(saldoSequestroCarbonoPlanilha2PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(saldoSequestroCarbonoPlanilha2Text, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoSequestroCarbonoPlanilha2UnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        formatoInvalidoLabel1.setText("Formato de entrada inválido! ");

        javax.swing.GroupLayout tab3Layout = new javax.swing.GroupLayout(tab3);
        tab3.setLayout(tab3Layout);
        tab3Layout.setHorizontalGroup(
            tab3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab3Layout.createSequentialGroup()
                .addGroup(tab3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(tab3Layout.createSequentialGroup()
                        .addGap(39, 39, 39)
                        .addGroup(tab3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(planilha2RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(tab3Layout.createSequentialGroup()
                                .addComponent(emissaoDeCarbonoPorQueimaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(saldoSequestroCarbonoPlanilha2Panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(tab3Layout.createSequentialGroup()
                        .addGap(92, 92, 92)
                        .addComponent(sequestroDeCarbonoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(tab3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(tab3Layout.createSequentialGroup()
                                .addGap(16, 16, 16)
                                .addComponent(percentualDeCanavialQueimadoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(tab3Layout.createSequentialGroup()
                                .addGap(79, 79, 79)
                                .addComponent(planilha2CalcularBotao)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(formatoInvalidoLabel1)))))
                .addContainerGap(36, Short.MAX_VALUE))
        );
        tab3Layout.setVerticalGroup(
            tab3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(tab3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(tab3Layout.createSequentialGroup()
                        .addComponent(percentualDeCanavialQueimadoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(tab3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(planilha2CalcularBotao, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(formatoInvalidoLabel1)))
                    .addComponent(sequestroDeCarbonoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(tab3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(emissaoDeCarbonoPorQueimaPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(saldoSequestroCarbonoPlanilha2Panel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha2RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(115, Short.MAX_VALUE))
        );

        planilhasCalcs.addTab("3 - Queima de canavial", tab3);

        consumoDeMotoresMoagemPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Consumo de motores para moagem¹", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        consumoDeMotoresMoagemPanel.setToolTipText("");
        consumoDeMotoresMoagemPanel.setName("bla"); // NOI18N

        consumoDeMotoresMoagemEletricoLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        consumoDeMotoresMoagemEletricoLabel.setText("Elétrico²");

        consumoDeMotoresMoagemDieselLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        consumoDeMotoresMoagemDieselLabel.setText("Diesel*");
        consumoDeMotoresMoagemDieselLabel.setMaximumSize(new java.awt.Dimension(64, 18));
        consumoDeMotoresMoagemDieselLabel.setMinimumSize(new java.awt.Dimension(64, 18));

        consumoDeMotoresMoagemEletricoUnityLabel.setText("kWh");

        consumoDeMotoresMoagemDieselUnityLabel.setText("L");

        javax.swing.GroupLayout consumoDeMotoresMoagemPanelLayout = new javax.swing.GroupLayout(consumoDeMotoresMoagemPanel);
        consumoDeMotoresMoagemPanel.setLayout(consumoDeMotoresMoagemPanelLayout);
        consumoDeMotoresMoagemPanelLayout.setHorizontalGroup(
            consumoDeMotoresMoagemPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(consumoDeMotoresMoagemPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(consumoDeMotoresMoagemPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(consumoDeMotoresMoagemPanelLayout.createSequentialGroup()
                        .addComponent(consumoDeMotoresMoagemEletricoLabel)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(consumoDeMotoresMoagemEletricoText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(consumoDeMotoresMoagemEletricoUnityLabel))
                    .addGroup(consumoDeMotoresMoagemPanelLayout.createSequentialGroup()
                        .addComponent(consumoDeMotoresMoagemDieselLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(consumoDeMotoresMoagemDieselText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(consumoDeMotoresMoagemDieselUnityLabel)))
                .addContainerGap(100, Short.MAX_VALUE))
        );
        consumoDeMotoresMoagemPanelLayout.setVerticalGroup(
            consumoDeMotoresMoagemPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(consumoDeMotoresMoagemPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(consumoDeMotoresMoagemPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(consumoDeMotoresMoagemEletricoLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(consumoDeMotoresMoagemEletricoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(consumoDeMotoresMoagemEletricoUnityLabel))
                .addGap(18, 18, 18)
                .addGroup(consumoDeMotoresMoagemPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(consumoDeMotoresMoagemDieselLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(consumoDeMotoresMoagemPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(consumoDeMotoresMoagemDieselUnityLabel)
                        .addComponent(consumoDeMotoresMoagemDieselText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilha3BotaoCalcular.setText("Calcular");
        planilha3BotaoCalcular.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                planilha3BotaoCalcularActionPerformed(evt);
            }
        });

        emissaoDeCarbonoPorMoagemPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Emissão de carbono por moagem", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        emissaoDeCarbonoPorMoagemPanel.setToolTipText("");
        emissaoDeCarbonoPorMoagemPanel.setName("bla"); // NOI18N

        emissaoDeCarbonoPorMoagemUnityLabel.setText("ton de CO₂");

        emissaoDeCarbonoPorMoagemText.setEditable(false);

        javax.swing.GroupLayout emissaoDeCarbonoPorMoagemPanelLayout = new javax.swing.GroupLayout(emissaoDeCarbonoPorMoagemPanel);
        emissaoDeCarbonoPorMoagemPanel.setLayout(emissaoDeCarbonoPorMoagemPanelLayout);
        emissaoDeCarbonoPorMoagemPanelLayout.setHorizontalGroup(
            emissaoDeCarbonoPorMoagemPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorMoagemPanelLayout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addComponent(emissaoDeCarbonoPorMoagemText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(emissaoDeCarbonoPorMoagemUnityLabel)
                .addContainerGap(76, Short.MAX_VALUE))
        );
        emissaoDeCarbonoPorMoagemPanelLayout.setVerticalGroup(
            emissaoDeCarbonoPorMoagemPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorMoagemPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(emissaoDeCarbonoPorMoagemPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(emissaoDeCarbonoPorMoagemText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPorMoagemUnityLabel))
                .addContainerGap(19, Short.MAX_VALUE))
        );

        emissaoDeCarbonoPorFermentacaoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Emissão de carbono por fermentação alcoólica³", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        emissaoDeCarbonoPorFermentacaoPanel.setToolTipText("");
        emissaoDeCarbonoPorFermentacaoPanel.setName("bla"); // NOI18N

        emissaoDeCarbonoPorFermentacaoUnityLabel.setText("ton de CO₂");

        emissaoDeCarbonoPorFermentacaoTextLabel.setEditable(false);

        javax.swing.GroupLayout emissaoDeCarbonoPorFermentacaoPanelLayout = new javax.swing.GroupLayout(emissaoDeCarbonoPorFermentacaoPanel);
        emissaoDeCarbonoPorFermentacaoPanel.setLayout(emissaoDeCarbonoPorFermentacaoPanelLayout);
        emissaoDeCarbonoPorFermentacaoPanelLayout.setHorizontalGroup(
            emissaoDeCarbonoPorFermentacaoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorFermentacaoPanelLayout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addComponent(emissaoDeCarbonoPorFermentacaoTextLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(emissaoDeCarbonoPorFermentacaoUnityLabel)
                .addContainerGap(118, Short.MAX_VALUE))
        );
        emissaoDeCarbonoPorFermentacaoPanelLayout.setVerticalGroup(
            emissaoDeCarbonoPorFermentacaoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorFermentacaoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(emissaoDeCarbonoPorFermentacaoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(emissaoDeCarbonoPorFermentacaoTextLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPorFermentacaoUnityLabel))
                .addContainerGap(19, Short.MAX_VALUE))
        );

        saldoSesquetroCarbonoPlanilha3Panel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Saldo parcial de sequestro de carbono", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        saldoSesquetroCarbonoPlanilha3Panel.setToolTipText("");
        saldoSesquetroCarbonoPlanilha3Panel.setName("bla"); // NOI18N

        saldoSesquetroCarbonoPlanilha3UnityLabel.setText("ton de CO₂");

        saldoSequestroCarbonoPlanilha3Text.setEditable(false);

        javax.swing.GroupLayout saldoSesquetroCarbonoPlanilha3PanelLayout = new javax.swing.GroupLayout(saldoSesquetroCarbonoPlanilha3Panel);
        saldoSesquetroCarbonoPlanilha3Panel.setLayout(saldoSesquetroCarbonoPlanilha3PanelLayout);
        saldoSesquetroCarbonoPlanilha3PanelLayout.setHorizontalGroup(
            saldoSesquetroCarbonoPlanilha3PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSesquetroCarbonoPlanilha3PanelLayout.createSequentialGroup()
                .addGap(54, 54, 54)
                .addComponent(saldoSequestroCarbonoPlanilha3Text, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(saldoSesquetroCarbonoPlanilha3UnityLabel)
                .addContainerGap(76, Short.MAX_VALUE))
        );
        saldoSesquetroCarbonoPlanilha3PanelLayout.setVerticalGroup(
            saldoSesquetroCarbonoPlanilha3PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSesquetroCarbonoPlanilha3PanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(saldoSesquetroCarbonoPlanilha3PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(saldoSequestroCarbonoPlanilha3Text, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoSesquetroCarbonoPlanilha3UnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilha3RodapeLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha3RodapeLabel.setText("¹Desconsiderando outras formas de moagem, como tração animal e roda d'água, pois não emitem pouco carbono.");

        planilha3RodapeLabel1.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha3RodapeLabel1.setText("²Caso o consumo elétrico apenas para moagem não seja conhecido, lembre-se de incluí-lo no consumo elétrico total (aba 6).");

        planilha3RodapeLabel2.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha3RodapeLabel2.setText("³Usando-se o o peso total de cana computado anteriormente na aba 2. Referência (PLEC et al., 2007).");

        planilha3RodapeLabel3.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha3RodapeLabel3.setText("*Adotando-se que para cada litro de diesel, emitem-se 2,7kg de dióxido de carbono, assim como a Calculadora CCLepac.");

        javax.swing.GroupLayout planilha3RodapePanelLayout = new javax.swing.GroupLayout(planilha3RodapePanel);
        planilha3RodapePanel.setLayout(planilha3RodapePanelLayout);
        planilha3RodapePanelLayout.setHorizontalGroup(
            planilha3RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(planilha3RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha3RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 714, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 6, Short.MAX_VALUE))
            .addGroup(planilha3RodapePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(planilha3RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(planilha3RodapeLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(planilha3RodapeLabel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(planilha3RodapeLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(planilha3RodapeLabel3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        planilha3RodapePanelLayout.setVerticalGroup(
            planilha3RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, planilha3RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha3RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha3RodapeLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha3RodapeLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha3RodapeLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(planilha3RodapeLabel3)
                .addContainerGap())
        );

        formatoInvalidoLabel2.setText("Formato de entrada inválido! ");

        javax.swing.GroupLayout tab4Layout = new javax.swing.GroupLayout(tab4);
        tab4.setLayout(tab4Layout);
        tab4Layout.setHorizontalGroup(
            tab4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab4Layout.createSequentialGroup()
                .addGroup(tab4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(tab4Layout.createSequentialGroup()
                        .addGap(31, 31, 31)
                        .addGroup(tab4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(tab4Layout.createSequentialGroup()
                                .addGroup(tab4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(consumoDeMotoresMoagemPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(emissaoDeCarbonoPorMoagemPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(tab4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(tab4Layout.createSequentialGroup()
                                        .addGap(44, 44, 44)
                                        .addComponent(emissaoDeCarbonoPorFermentacaoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(tab4Layout.createSequentialGroup()
                                        .addGap(54, 54, 54)
                                        .addComponent(saldoSesquetroCarbonoPlanilha3Panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                            .addComponent(planilha3RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(tab4Layout.createSequentialGroup()
                        .addGap(283, 283, 283)
                        .addComponent(planilha3BotaoCalcular)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(formatoInvalidoLabel2)))
                .addContainerGap(44, Short.MAX_VALUE))
        );
        tab4Layout.setVerticalGroup(
            tab4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(tab4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(consumoDeMotoresMoagemPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPorFermentacaoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(tab4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(planilha3BotaoCalcular, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(formatoInvalidoLabel2))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(tab4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(emissaoDeCarbonoPorMoagemPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoSesquetroCarbonoPlanilha3Panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(planilha3RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(97, Short.MAX_VALUE))
        );

        planilhasCalcs.addTab("4 - Moagem e fermentação", tab4);

        percentualDeCanaConvertidaEmBagaçoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Percentual de cana convertida em bagaço¹ e peso de bagaço", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        percentualDeCanaConvertidaEmBagaçoPanel.setToolTipText("");
        percentualDeCanaConvertidaEmBagaçoPanel.setName("bla"); // NOI18N

        percentualDeCanaConvertidaEmBagacoLabel.setText("% ->");

        pesoTotalDeBagacoText.setEditable(false);

        pesoTotalDeBagacoLabel.setText("ton");

        javax.swing.GroupLayout percentualDeCanaConvertidaEmBagaçoPanelLayout = new javax.swing.GroupLayout(percentualDeCanaConvertidaEmBagaçoPanel);
        percentualDeCanaConvertidaEmBagaçoPanel.setLayout(percentualDeCanaConvertidaEmBagaçoPanelLayout);
        percentualDeCanaConvertidaEmBagaçoPanelLayout.setHorizontalGroup(
            percentualDeCanaConvertidaEmBagaçoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(percentualDeCanaConvertidaEmBagaçoPanelLayout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addComponent(percentualDeCanaConvertidaEmBagacoText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(percentualDeCanaConvertidaEmBagacoLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pesoTotalDeBagacoText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(pesoTotalDeBagacoLabel)
                .addContainerGap(195, Short.MAX_VALUE))
        );
        percentualDeCanaConvertidaEmBagaçoPanelLayout.setVerticalGroup(
            percentualDeCanaConvertidaEmBagaçoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(percentualDeCanaConvertidaEmBagaçoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(percentualDeCanaConvertidaEmBagaçoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(percentualDeCanaConvertidaEmBagacoLabel)
                    .addComponent(percentualDeCanaConvertidaEmBagacoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pesoTotalDeBagacoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pesoTotalDeBagacoLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        destinoDoBagacoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Destino do bagaço²", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        destinoDoBagacoPanel.setToolTipText("");
        destinoDoBagacoPanel.setName("bla"); // NOI18N

        destinoDoBagacoLixoLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoDoBagacoLixoLabel.setText("Lixo");

        destinoDoBagacoQuemaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoDoBagacoQuemaLabel.setText("Queima");
        destinoDoBagacoQuemaLabel.setMaximumSize(new java.awt.Dimension(64, 18));
        destinoDoBagacoQuemaLabel.setMinimumSize(new java.awt.Dimension(64, 18));

        destinoDoBagacoCompostagemLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoDoBagacoCompostagemLabel.setText("Compostagem");

        destinoDoBagacoAlimentacaoAnimalLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoDoBagacoAlimentacaoAnimalLabel.setText("Alimentação animal");

        destinoDoBagacoLixoUnityButtonGroup.add(destinoDoBagacoLixoUnityM3Button);
        destinoDoBagacoLixoUnityM3Button.setText("m³");

        destinoDoBagacoLixoUnityButtonGroup.add(destinoDoBagacoLixoUnityPercentualButton);
        destinoDoBagacoLixoUnityPercentualButton.setText("%");

        destinoDoBagacoLixoUnityButtonGroup.add(destinoDoBagacoLixoUnityTonButton);
        destinoDoBagacoLixoUnityTonButton.setText("ton");

        javax.swing.GroupLayout destinoDoBagacoLixoUnityPanelLayout = new javax.swing.GroupLayout(destinoDoBagacoLixoUnityPanel);
        destinoDoBagacoLixoUnityPanel.setLayout(destinoDoBagacoLixoUnityPanelLayout);
        destinoDoBagacoLixoUnityPanelLayout.setHorizontalGroup(
            destinoDoBagacoLixoUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoLixoUnityPanelLayout.createSequentialGroup()
                .addComponent(destinoDoBagacoLixoUnityTonButton)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoDoBagacoLixoUnityM3Button)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoDoBagacoLixoUnityPercentualButton))
        );
        destinoDoBagacoLixoUnityPanelLayout.setVerticalGroup(
            destinoDoBagacoLixoUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoLixoUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(destinoDoBagacoLixoUnityPercentualButton)
                .addComponent(destinoDoBagacoLixoUnityM3Button)
                .addComponent(destinoDoBagacoLixoUnityTonButton))
        );

        destinoDoBagacoQueimaUnityButtonGroupl.add(destinoDoBagacoQueimaUnityM3Button);
        destinoDoBagacoQueimaUnityM3Button.setText("m³");

        destinoDoBagacoQueimaUnityButtonGroupl.add(destinoDoBagacoQueimaUnityPercentualButton);
        destinoDoBagacoQueimaUnityPercentualButton.setText("%");

        destinoDoBagacoQueimaUnityButtonGroupl.add(destinoDoBagacoQueimaUnityTonButton);
        destinoDoBagacoQueimaUnityTonButton.setText("ton");

        javax.swing.GroupLayout destinoDoBagacoQueimaUnityPanelLayout = new javax.swing.GroupLayout(destinoDoBagacoQueimaUnityPanel);
        destinoDoBagacoQueimaUnityPanel.setLayout(destinoDoBagacoQueimaUnityPanelLayout);
        destinoDoBagacoQueimaUnityPanelLayout.setHorizontalGroup(
            destinoDoBagacoQueimaUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoQueimaUnityPanelLayout.createSequentialGroup()
                .addComponent(destinoDoBagacoQueimaUnityTonButton)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoDoBagacoQueimaUnityM3Button)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoDoBagacoQueimaUnityPercentualButton)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        destinoDoBagacoQueimaUnityPanelLayout.setVerticalGroup(
            destinoDoBagacoQueimaUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoQueimaUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(destinoDoBagacoQueimaUnityPercentualButton)
                .addComponent(destinoDoBagacoQueimaUnityM3Button)
                .addComponent(destinoDoBagacoQueimaUnityTonButton))
        );

        destinoDoBagacoCompostagemUnityButtonGroup.add(destinoDoBagacoCompostagemUnityM3Butoon);
        destinoDoBagacoCompostagemUnityM3Butoon.setText("m³");

        destinoDoBagacoCompostagemUnityButtonGroup.add(destinoDoBagacoCompostagemUnityPercentualButton);
        destinoDoBagacoCompostagemUnityPercentualButton.setText("%");

        destinoDoBagacoCompostagemUnityButtonGroup.add(destinoDoBagacoCompostagemUnityTonButton);
        destinoDoBagacoCompostagemUnityTonButton.setText("ton");

        javax.swing.GroupLayout destinoDoBagacoCompostagemUnityPanelLayout = new javax.swing.GroupLayout(destinoDoBagacoCompostagemUnityPanel);
        destinoDoBagacoCompostagemUnityPanel.setLayout(destinoDoBagacoCompostagemUnityPanelLayout);
        destinoDoBagacoCompostagemUnityPanelLayout.setHorizontalGroup(
            destinoDoBagacoCompostagemUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoCompostagemUnityPanelLayout.createSequentialGroup()
                .addComponent(destinoDoBagacoCompostagemUnityTonButton)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoDoBagacoCompostagemUnityM3Butoon)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoDoBagacoCompostagemUnityPercentualButton))
        );
        destinoDoBagacoCompostagemUnityPanelLayout.setVerticalGroup(
            destinoDoBagacoCompostagemUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoCompostagemUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(destinoDoBagacoCompostagemUnityPercentualButton)
                .addComponent(destinoDoBagacoCompostagemUnityM3Butoon)
                .addComponent(destinoDoBagacoCompostagemUnityTonButton))
        );

        destinoDoBagacoAlimentacaoAnimalUnityButtonGroup.add(destinoDoBagacoAlimentacaoAnimalM3Button);
        destinoDoBagacoAlimentacaoAnimalM3Button.setText("m³");

        destinoDoBagacoAlimentacaoAnimalUnityButtonGroup.add(destinoDoBagacoAlimentacaoAnimalPercentualButton);
        destinoDoBagacoAlimentacaoAnimalPercentualButton.setText("%");

        destinoDoBagacoAlimentacaoAnimalUnityButtonGroup.add(destinoDoBagacoAlimentacaoAnimalTonButton);
        destinoDoBagacoAlimentacaoAnimalTonButton.setText("ton");

        javax.swing.GroupLayout destinoDoBagacoAlimentacaoAnimalPanelLayout = new javax.swing.GroupLayout(destinoDoBagacoAlimentacaoAnimalPanel);
        destinoDoBagacoAlimentacaoAnimalPanel.setLayout(destinoDoBagacoAlimentacaoAnimalPanelLayout);
        destinoDoBagacoAlimentacaoAnimalPanelLayout.setHorizontalGroup(
            destinoDoBagacoAlimentacaoAnimalPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoAlimentacaoAnimalPanelLayout.createSequentialGroup()
                .addComponent(destinoDoBagacoAlimentacaoAnimalTonButton)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoDoBagacoAlimentacaoAnimalM3Button)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoDoBagacoAlimentacaoAnimalPercentualButton)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        destinoDoBagacoAlimentacaoAnimalPanelLayout.setVerticalGroup(
            destinoDoBagacoAlimentacaoAnimalPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoAlimentacaoAnimalPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(destinoDoBagacoAlimentacaoAnimalPercentualButton)
                .addComponent(destinoDoBagacoAlimentacaoAnimalM3Button)
                .addComponent(destinoDoBagacoAlimentacaoAnimalTonButton))
        );

        totalBagacoCalculadoLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        totalBagacoCalculadoLabel.setText("Total");

        totalBagacoCalculadoText.setEditable(false);

        destinoDoBagacoAlimentacaoAnimalLabel2.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoDoBagacoAlimentacaoAnimalLabel2.setText("ton");

        javax.swing.GroupLayout destinoDoBagacoPanelLayout = new javax.swing.GroupLayout(destinoDoBagacoPanel);
        destinoDoBagacoPanel.setLayout(destinoDoBagacoPanelLayout);
        destinoDoBagacoPanelLayout.setHorizontalGroup(
            destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(destinoDoBagacoPanelLayout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(destinoDoBagacoPanelLayout.createSequentialGroup()
                                .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                    .addComponent(destinoDoBagacoQuemaLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(destinoDoBagacoCompostagemLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 103, Short.MAX_VALUE)
                                    .addComponent(destinoDoBagacoLixoLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(destinoDoBagacoLixoText)
                                    .addComponent(destinoDoBagacoQueimaText)
                                    .addComponent(destinoDoBagacoCompostagemText, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(destinoDoBagacoPanelLayout.createSequentialGroup()
                                .addComponent(destinoDoBagacoAlimentacaoAnimalLabel)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(destinoDoBagacoAlimentacaoAnimalText))))
                    .addGroup(destinoDoBagacoPanelLayout.createSequentialGroup()
                        .addComponent(totalBagacoCalculadoLabel)
                        .addGap(79, 79, 79)
                        .addComponent(totalBagacoCalculadoText)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(destinoDoBagacoAlimentacaoAnimalPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(destinoDoBagacoLixoUnityPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(destinoDoBagacoQueimaUnityPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(destinoDoBagacoCompostagemUnityPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(destinoDoBagacoAlimentacaoAnimalLabel2)))
        );
        destinoDoBagacoPanelLayout.setVerticalGroup(
            destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoDoBagacoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, destinoDoBagacoPanelLayout.createSequentialGroup()
                        .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, destinoDoBagacoPanelLayout.createSequentialGroup()
                                .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(destinoDoBagacoLixoLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(destinoDoBagacoLixoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(destinoDoBagacoLixoUnityPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(destinoDoBagacoQuemaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(destinoDoBagacoQueimaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addComponent(destinoDoBagacoQueimaUnityPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(destinoDoBagacoCompostagemLabel)
                            .addComponent(destinoDoBagacoCompostagemText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(destinoDoBagacoCompostagemUnityPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(destinoDoBagacoAlimentacaoAnimalLabel)
                        .addComponent(destinoDoBagacoAlimentacaoAnimalText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(destinoDoBagacoAlimentacaoAnimalPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(destinoDoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(totalBagacoCalculadoLabel)
                    .addComponent(totalBagacoCalculadoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(destinoDoBagacoAlimentacaoAnimalLabel2))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilha4BotaoCalcular.setText("Calcular");
        planilha4BotaoCalcular.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                planilha4BotaoCalcularActionPerformed(evt);
            }
        });

        emissaoDeCarbonoPelaDestinacaoBagacoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Emissão de carbono pela destinação do bagaço³", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        emissaoDeCarbonoPelaDestinacaoBagacoPanel.setToolTipText("");
        emissaoDeCarbonoPelaDestinacaoBagacoPanel.setName("bla"); // NOI18N

        emissaoDeCarbonoPelaDestinacaoBagacoUnityLabel.setText("ton de CO₂");

        emissaoDeCarbonoPelaDestinacaoBagacoText.setEditable(false);

        javax.swing.GroupLayout emissaoDeCarbonoPelaDestinacaoBagacoPanelLayout = new javax.swing.GroupLayout(emissaoDeCarbonoPelaDestinacaoBagacoPanel);
        emissaoDeCarbonoPelaDestinacaoBagacoPanel.setLayout(emissaoDeCarbonoPelaDestinacaoBagacoPanelLayout);
        emissaoDeCarbonoPelaDestinacaoBagacoPanelLayout.setHorizontalGroup(
            emissaoDeCarbonoPelaDestinacaoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPelaDestinacaoBagacoPanelLayout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addComponent(emissaoDeCarbonoPelaDestinacaoBagacoText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(emissaoDeCarbonoPelaDestinacaoBagacoUnityLabel)
                .addContainerGap(130, Short.MAX_VALUE))
        );
        emissaoDeCarbonoPelaDestinacaoBagacoPanelLayout.setVerticalGroup(
            emissaoDeCarbonoPelaDestinacaoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPelaDestinacaoBagacoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(emissaoDeCarbonoPelaDestinacaoBagacoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(emissaoDeCarbonoPelaDestinacaoBagacoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPelaDestinacaoBagacoUnityLabel))
                .addContainerGap(19, Short.MAX_VALUE))
        );

        saldoSesquetroCarbonoPlanilha4Panel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Saldo parcial de sequestro de carbono", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        saldoSesquetroCarbonoPlanilha4Panel.setToolTipText("");
        saldoSesquetroCarbonoPlanilha4Panel.setName("bla"); // NOI18N

        saldoSesquetroCarbonoPlanilha4UnityLabel.setText("ton de CO₂");

        saldoSequestroCarbonoPlanilha4Text.setEditable(false);

        javax.swing.GroupLayout saldoSesquetroCarbonoPlanilha4PanelLayout = new javax.swing.GroupLayout(saldoSesquetroCarbonoPlanilha4Panel);
        saldoSesquetroCarbonoPlanilha4Panel.setLayout(saldoSesquetroCarbonoPlanilha4PanelLayout);
        saldoSesquetroCarbonoPlanilha4PanelLayout.setHorizontalGroup(
            saldoSesquetroCarbonoPlanilha4PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSesquetroCarbonoPlanilha4PanelLayout.createSequentialGroup()
                .addGap(54, 54, 54)
                .addComponent(saldoSequestroCarbonoPlanilha4Text, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(saldoSesquetroCarbonoPlanilha4UnityLabel)
                .addContainerGap(76, Short.MAX_VALUE))
        );
        saldoSesquetroCarbonoPlanilha4PanelLayout.setVerticalGroup(
            saldoSesquetroCarbonoPlanilha4PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSesquetroCarbonoPlanilha4PanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(saldoSesquetroCarbonoPlanilha4PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(saldoSequestroCarbonoPlanilha4Text, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoSesquetroCarbonoPlanilha4UnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilha4Rodape1Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha4Rodape1Label.setText("¹Caso este valor não seja preechido, será utilizado o valor médio de 37,5% de bagaço. Este valor é de 30% segundo");

        planilha4Rodape2Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha4Rodape2Label.setText("³Cálculo feitos a partir dos destinos declarados, observe que pode parte do bagaço pode ser destinada a outros processos.");

        planilha4Rodape3Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha4Rodape3Label.setText("*Saiba que a queima do bagaço emite quase o mesmo que a compostagem!");

        planilha4Rodape4Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha4Rodape4Label.setText("²O bagaço de cana tem densidade mássica de aproximadamente 10 kg/m³.");

        planilha4Rodape4Label1.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha4Rodape4Label1.setText(" BURGI, 1995 (apud TEIXEIRA et al, 2007).");

        javax.swing.GroupLayout planilha4RodapePanelLayout = new javax.swing.GroupLayout(planilha4RodapePanel);
        planilha4RodapePanel.setLayout(planilha4RodapePanelLayout);
        planilha4RodapePanelLayout.setHorizontalGroup(
            planilha4RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(planilha4RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha4RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 714, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
            .addGroup(planilha4RodapePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(planilha4RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(planilha4Rodape1Label, javax.swing.GroupLayout.DEFAULT_SIZE, 700, Short.MAX_VALUE)
                    .addComponent(planilha4Rodape2Label, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(planilha4Rodape3Label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(planilha4Rodape4Label, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(planilha4RodapePanelLayout.createSequentialGroup()
                        .addComponent(planilha4Rodape4Label1)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        planilha4RodapePanelLayout.setVerticalGroup(
            planilha4RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, planilha4RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha4RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha4Rodape1Label)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha4Rodape4Label1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha4Rodape4Label, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha4Rodape2Label)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha4Rodape3Label)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        formatoInvalidoLabel3.setText("Formato de entrada inválido! ");

        javax.swing.GroupLayout tab5Layout = new javax.swing.GroupLayout(tab5);
        tab5.setLayout(tab5Layout);
        tab5Layout.setHorizontalGroup(
            tab5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab5Layout.createSequentialGroup()
                .addGroup(tab5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(tab5Layout.createSequentialGroup()
                        .addGap(26, 26, 26)
                        .addGroup(tab5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(planilha4RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(tab5Layout.createSequentialGroup()
                                .addGap(4, 4, 4)
                                .addComponent(emissaoDeCarbonoPelaDestinacaoBagacoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(saldoSesquetroCarbonoPlanilha4Panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(tab5Layout.createSequentialGroup()
                        .addGroup(tab5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(tab5Layout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(percentualDeCanaConvertidaEmBagaçoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(planilha4BotaoCalcular, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(formatoInvalidoLabel3, javax.swing.GroupLayout.Alignment.TRAILING))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(destinoDoBagacoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(49, Short.MAX_VALUE))
        );
        tab5Layout.setVerticalGroup(
            tab5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab5Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(tab5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(tab5Layout.createSequentialGroup()
                        .addComponent(percentualDeCanaConvertidaEmBagaçoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(planilha4BotaoCalcular, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(formatoInvalidoLabel3))
                    .addComponent(destinoDoBagacoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(tab5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(emissaoDeCarbonoPelaDestinacaoBagacoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoSesquetroCarbonoPlanilha4Panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha4RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(52, Short.MAX_VALUE))
        );

        planilhasCalcs.addTab("5 - Destino do bagaço da cana", tab5);

        volumeVinhacaPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Volume de vinhaça¹", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        volumeVinhacaPanel.setToolTipText("");
        volumeVinhacaPanel.setName("bla"); // NOI18N

        volumeVinhacaText.setEditable(false);

        volumeVinhacaLabel.setText("m³");

        javax.swing.GroupLayout volumeVinhacaPanelLayout = new javax.swing.GroupLayout(volumeVinhacaPanel);
        volumeVinhacaPanel.setLayout(volumeVinhacaPanelLayout);
        volumeVinhacaPanelLayout.setHorizontalGroup(
            volumeVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(volumeVinhacaPanelLayout.createSequentialGroup()
                .addGap(28, 28, 28)
                .addComponent(volumeVinhacaText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(volumeVinhacaLabel)
                .addContainerGap(41, Short.MAX_VALUE))
        );
        volumeVinhacaPanelLayout.setVerticalGroup(
            volumeVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(volumeVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(volumeVinhacaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(volumeVinhacaLabel))
        );

        destinoVinhacaPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Destino da vinhaça²", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        destinoVinhacaPanel.setToolTipText("");
        destinoVinhacaPanel.setName("bla"); // NOI18N

        destinoVinhacaLixoLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoVinhacaLixoLabel.setText("Lixo");

        destinoVinhacaAdubacaoQueimadaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoVinhacaAdubacaoQueimadaLabel.setText("Adubação Queimada");
        destinoVinhacaAdubacaoQueimadaLabel.setMaximumSize(new java.awt.Dimension(64, 18));
        destinoVinhacaAdubacaoQueimadaLabel.setMinimumSize(new java.awt.Dimension(64, 18));

        destinoVinhacaAdubacaoCruaLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoVinhacaAdubacaoCruaLabel.setText("Adubação Crua");

        destinoVinhacaCompostagemLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoVinhacaCompostagemLabel.setText("Compostagem");

        destinoDaVinhacaLixoUnityButtonGroup.add(destinoVinhacaLixoUnityM3Button);
        destinoVinhacaLixoUnityM3Button.setText("m³");

        destinoDaVinhacaLixoUnityButtonGroup.add(destinoVinhacaLixoUnityPercentualButton);
        destinoVinhacaLixoUnityPercentualButton.setText("%");

        javax.swing.GroupLayout destinoVinhacaLixoUnityPanelLayout = new javax.swing.GroupLayout(destinoVinhacaLixoUnityPanel);
        destinoVinhacaLixoUnityPanel.setLayout(destinoVinhacaLixoUnityPanelLayout);
        destinoVinhacaLixoUnityPanelLayout.setHorizontalGroup(
            destinoVinhacaLixoUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaLixoUnityPanelLayout.createSequentialGroup()
                .addComponent(destinoVinhacaLixoUnityM3Button)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoVinhacaLixoUnityPercentualButton)
                .addContainerGap())
        );
        destinoVinhacaLixoUnityPanelLayout.setVerticalGroup(
            destinoVinhacaLixoUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaLixoUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(destinoVinhacaLixoUnityPercentualButton)
                .addComponent(destinoVinhacaLixoUnityM3Button))
        );

        destinoDaVinhacaAdubacaoQueimadaUnityButtonGroup.add(destinoVinhacaAdubacaoQueimadaUnityM3Button);
        destinoVinhacaAdubacaoQueimadaUnityM3Button.setText("m³");

        destinoDaVinhacaAdubacaoQueimadaUnityButtonGroup.add(destinoVinhacaAdubacaoQueimadaUnityPercentualButton);
        destinoVinhacaAdubacaoQueimadaUnityPercentualButton.setText("%");

        javax.swing.GroupLayout destinoVinhacaAdubacaoQueimadaUnityPanelLayout = new javax.swing.GroupLayout(destinoVinhacaAdubacaoQueimadaUnityPanel);
        destinoVinhacaAdubacaoQueimadaUnityPanel.setLayout(destinoVinhacaAdubacaoQueimadaUnityPanelLayout);
        destinoVinhacaAdubacaoQueimadaUnityPanelLayout.setHorizontalGroup(
            destinoVinhacaAdubacaoQueimadaUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaAdubacaoQueimadaUnityPanelLayout.createSequentialGroup()
                .addComponent(destinoVinhacaAdubacaoQueimadaUnityM3Button)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoVinhacaAdubacaoQueimadaUnityPercentualButton)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        destinoVinhacaAdubacaoQueimadaUnityPanelLayout.setVerticalGroup(
            destinoVinhacaAdubacaoQueimadaUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaAdubacaoQueimadaUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(destinoVinhacaAdubacaoQueimadaUnityPercentualButton)
                .addComponent(destinoVinhacaAdubacaoQueimadaUnityM3Button))
        );

        destinoDaVinhacaAdubacaoCruaUnityButtonGroup.add(destinoVinhacaAdubacaoCruaUnityM3Button);
        destinoVinhacaAdubacaoCruaUnityM3Button.setText("m³");

        destinoDaVinhacaAdubacaoCruaUnityButtonGroup.add(destinoVinhacaAdubacaoCruaUnityPercentualButton);
        destinoVinhacaAdubacaoCruaUnityPercentualButton.setText("%");

        javax.swing.GroupLayout destinoVinhacaAdubacaoCruaUnityPanelLayout = new javax.swing.GroupLayout(destinoVinhacaAdubacaoCruaUnityPanel);
        destinoVinhacaAdubacaoCruaUnityPanel.setLayout(destinoVinhacaAdubacaoCruaUnityPanelLayout);
        destinoVinhacaAdubacaoCruaUnityPanelLayout.setHorizontalGroup(
            destinoVinhacaAdubacaoCruaUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaAdubacaoCruaUnityPanelLayout.createSequentialGroup()
                .addComponent(destinoVinhacaAdubacaoCruaUnityM3Button)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoVinhacaAdubacaoCruaUnityPercentualButton)
                .addContainerGap())
        );
        destinoVinhacaAdubacaoCruaUnityPanelLayout.setVerticalGroup(
            destinoVinhacaAdubacaoCruaUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaAdubacaoCruaUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(destinoVinhacaAdubacaoCruaUnityPercentualButton)
                .addComponent(destinoVinhacaAdubacaoCruaUnityM3Button))
        );

        destinoDaVinhacaCompostagemUnityButtonGroup.add(destinoVinhacaCompostagemUnityM3Panel);
        destinoVinhacaCompostagemUnityM3Panel.setText("m³");

        destinoDaVinhacaCompostagemUnityButtonGroup.add(destinoVinhacaCompostagemUnityPercentualPanel);
        destinoVinhacaCompostagemUnityPercentualPanel.setText("%");

        javax.swing.GroupLayout destinoVinhacaCompostagemUnityPanelLayout = new javax.swing.GroupLayout(destinoVinhacaCompostagemUnityPanel);
        destinoVinhacaCompostagemUnityPanel.setLayout(destinoVinhacaCompostagemUnityPanelLayout);
        destinoVinhacaCompostagemUnityPanelLayout.setHorizontalGroup(
            destinoVinhacaCompostagemUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaCompostagemUnityPanelLayout.createSequentialGroup()
                .addComponent(destinoVinhacaCompostagemUnityM3Panel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(destinoVinhacaCompostagemUnityPercentualPanel))
        );
        destinoVinhacaCompostagemUnityPanelLayout.setVerticalGroup(
            destinoVinhacaCompostagemUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaCompostagemUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(destinoVinhacaCompostagemUnityPercentualPanel)
                .addComponent(destinoVinhacaCompostagemUnityM3Panel))
        );

        totalVinhacaCalculadoText.setEditable(false);

        totalVinhacaCalculadoLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        totalVinhacaCalculadoLabel.setText("Total");

        destinoVinhacaCompostagemLabel2.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        destinoVinhacaCompostagemLabel2.setText("m³");

        javax.swing.GroupLayout destinoVinhacaPanelLayout = new javax.swing.GroupLayout(destinoVinhacaPanel);
        destinoVinhacaPanel.setLayout(destinoVinhacaPanelLayout);
        destinoVinhacaPanelLayout.setHorizontalGroup(
            destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(destinoVinhacaCompostagemLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(destinoVinhacaAdubacaoQueimadaLabel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(destinoVinhacaAdubacaoCruaLabel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(destinoVinhacaLixoLabel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addComponent(totalVinhacaCalculadoLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(destinoVinhacaLixoText)
                    .addComponent(destinoVinhacaAdubacaoQueimadaText)
                    .addComponent(destinoVinhacaAdubacaoCruaText, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE)
                    .addComponent(destinoVinhacaCompostagemText)
                    .addComponent(totalVinhacaCalculadoText))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(destinoVinhacaAdubacaoQueimadaUnityPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(destinoVinhacaAdubacaoCruaUnityPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(destinoVinhacaLixoUnityPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(destinoVinhacaCompostagemUnityPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(destinoVinhacaCompostagemLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(39, 39, 39))
        );
        destinoVinhacaPanelLayout.setVerticalGroup(
            destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, destinoVinhacaPanelLayout.createSequentialGroup()
                        .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, destinoVinhacaPanelLayout.createSequentialGroup()
                                .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(destinoVinhacaLixoLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(destinoVinhacaLixoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(destinoVinhacaLixoUnityPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(destinoVinhacaAdubacaoQueimadaLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(destinoVinhacaAdubacaoQueimadaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addComponent(destinoVinhacaAdubacaoQueimadaUnityPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(destinoVinhacaAdubacaoCruaLabel)
                            .addComponent(destinoVinhacaAdubacaoCruaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(destinoVinhacaAdubacaoCruaUnityPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(destinoVinhacaCompostagemLabel)
                        .addComponent(destinoVinhacaCompostagemText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(destinoVinhacaCompostagemUnityPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(destinoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(totalVinhacaCalculadoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(totalVinhacaCalculadoLabel)
                    .addComponent(destinoVinhacaCompostagemLabel2)))
        );

        consumoEletricoTotalPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Consumo elétrico total²", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        consumoEletricoTotalPanel.setToolTipText("");
        consumoEletricoTotalPanel.setName("bla"); // NOI18N

        consumoEletricoTotalUnityLabel.setText("kWh");

        javax.swing.GroupLayout consumoEletricoTotalPanelLayout = new javax.swing.GroupLayout(consumoEletricoTotalPanel);
        consumoEletricoTotalPanel.setLayout(consumoEletricoTotalPanelLayout);
        consumoEletricoTotalPanelLayout.setHorizontalGroup(
            consumoEletricoTotalPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(consumoEletricoTotalPanelLayout.createSequentialGroup()
                .addGap(30, 30, 30)
                .addComponent(consumoEletricoTotalText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(consumoEletricoTotalUnityLabel)
                .addContainerGap(67, Short.MAX_VALUE))
        );
        consumoEletricoTotalPanelLayout.setVerticalGroup(
            consumoEletricoTotalPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(consumoEletricoTotalPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(consumoEletricoTotalPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(consumoEletricoTotalText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(consumoEletricoTotalUnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilha5BotaoCalcular.setText("Calcular");
        planilha5BotaoCalcular.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                planilha5BotaoCalcularActionPerformed(evt);
            }
        });

        emissaoDeCarbonoPelaDestinacaoVinhacaPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Emissão de carbono pela destinação da vinhaça³", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        emissaoDeCarbonoPelaDestinacaoVinhacaPanel.setToolTipText("");
        emissaoDeCarbonoPelaDestinacaoVinhacaPanel.setName("bla"); // NOI18N

        emissaoDeCarbonoPelaDestinacaoVinhacaLabel.setText("ton de CO₂");

        emissaoDeCarbonoPelaDestinacaoVinhacaText.setEditable(false);

        javax.swing.GroupLayout emissaoDeCarbonoPelaDestinacaoVinhacaPanelLayout = new javax.swing.GroupLayout(emissaoDeCarbonoPelaDestinacaoVinhacaPanel);
        emissaoDeCarbonoPelaDestinacaoVinhacaPanel.setLayout(emissaoDeCarbonoPelaDestinacaoVinhacaPanelLayout);
        emissaoDeCarbonoPelaDestinacaoVinhacaPanelLayout.setHorizontalGroup(
            emissaoDeCarbonoPelaDestinacaoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPelaDestinacaoVinhacaPanelLayout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addComponent(emissaoDeCarbonoPelaDestinacaoVinhacaText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(emissaoDeCarbonoPelaDestinacaoVinhacaLabel)
                .addContainerGap(123, Short.MAX_VALUE))
        );
        emissaoDeCarbonoPelaDestinacaoVinhacaPanelLayout.setVerticalGroup(
            emissaoDeCarbonoPelaDestinacaoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPelaDestinacaoVinhacaPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(emissaoDeCarbonoPelaDestinacaoVinhacaPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(emissaoDeCarbonoPelaDestinacaoVinhacaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPelaDestinacaoVinhacaLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        emissaoDeCarbonoPorEletricidadePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Emissão de carbono por eletricidade³", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        emissaoDeCarbonoPorEletricidadePanel.setToolTipText("");
        emissaoDeCarbonoPorEletricidadePanel.setName("bla"); // NOI18N

        emissaoDeCarbonoPorEletricidadeUnityLabel.setText("ton de CO₂");

        emissaoDeCarbonoPorEletricidadeText.setEditable(false);

        javax.swing.GroupLayout emissaoDeCarbonoPorEletricidadePanelLayout = new javax.swing.GroupLayout(emissaoDeCarbonoPorEletricidadePanel);
        emissaoDeCarbonoPorEletricidadePanel.setLayout(emissaoDeCarbonoPorEletricidadePanelLayout);
        emissaoDeCarbonoPorEletricidadePanelLayout.setHorizontalGroup(
            emissaoDeCarbonoPorEletricidadePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorEletricidadePanelLayout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addComponent(emissaoDeCarbonoPorEletricidadeText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(emissaoDeCarbonoPorEletricidadeUnityLabel)
                .addContainerGap(51, Short.MAX_VALUE))
        );
        emissaoDeCarbonoPorEletricidadePanelLayout.setVerticalGroup(
            emissaoDeCarbonoPorEletricidadePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorEletricidadePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(emissaoDeCarbonoPorEletricidadePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(emissaoDeCarbonoPorEletricidadeText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPorEletricidadeUnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        saldoSesquetroCarbonoPlanilha5Panel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Saldo parcial de sequestro de carbono", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        saldoSesquetroCarbonoPlanilha5Panel.setToolTipText("");
        saldoSesquetroCarbonoPlanilha5Panel.setName("bla"); // NOI18N

        saldoSesquetroCarbonoPlanilha5UnityLabel.setText("ton de CO₂");

        saldoSequestroCarbonoPlanilha5Text.setEditable(false);

        javax.swing.GroupLayout saldoSesquetroCarbonoPlanilha5PanelLayout = new javax.swing.GroupLayout(saldoSesquetroCarbonoPlanilha5Panel);
        saldoSesquetroCarbonoPlanilha5Panel.setLayout(saldoSesquetroCarbonoPlanilha5PanelLayout);
        saldoSesquetroCarbonoPlanilha5PanelLayout.setHorizontalGroup(
            saldoSesquetroCarbonoPlanilha5PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSesquetroCarbonoPlanilha5PanelLayout.createSequentialGroup()
                .addGap(54, 54, 54)
                .addComponent(saldoSequestroCarbonoPlanilha5Text, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(saldoSesquetroCarbonoPlanilha5UnityLabel)
                .addContainerGap(76, Short.MAX_VALUE))
        );
        saldoSesquetroCarbonoPlanilha5PanelLayout.setVerticalGroup(
            saldoSesquetroCarbonoPlanilha5PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSesquetroCarbonoPlanilha5PanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(saldoSesquetroCarbonoPlanilha5PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(saldoSequestroCarbonoPlanilha5Text, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoSesquetroCarbonoPlanilha5UnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilha5Rodape1Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha5Rodape1Label.setText("¹Um tonelada de cana moída produz, aproximadamente, 1m³ de vinhaça.");

        planilha5Rodape2Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha5Rodape2Label.setText("Árvore, Key Associados e Iniciativa Verde.");

        planilha5Rodape3Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha5Rodape3Label.setText("²Adota-se 0.05 de dióxido de carbono por quilowatt hora. Para mais informações, consultar outras calculadoras da região: Plante");

        javax.swing.GroupLayout planilha5RodapePanelLayout = new javax.swing.GroupLayout(planilha5RodapePanel);
        planilha5RodapePanel.setLayout(planilha5RodapePanelLayout);
        planilha5RodapePanelLayout.setHorizontalGroup(
            planilha5RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(planilha5RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha5RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 714, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
            .addGroup(planilha5RodapePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(planilha5RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(planilha5Rodape1Label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(planilha5Rodape2Label, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(planilha5RodapePanelLayout.createSequentialGroup()
                        .addComponent(planilha5Rodape3Label)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        planilha5RodapePanelLayout.setVerticalGroup(
            planilha5RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, planilha5RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha5RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha5Rodape1Label)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha5Rodape3Label)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha5Rodape2Label, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        formatoInvalidoLabel4.setText("Formato de entrada inválido! ");

        javax.swing.GroupLayout destinoVinhacaCompostagemUnityLabel2Layout = new javax.swing.GroupLayout(destinoVinhacaCompostagemUnityLabel2);
        destinoVinhacaCompostagemUnityLabel2.setLayout(destinoVinhacaCompostagemUnityLabel2Layout);
        destinoVinhacaCompostagemUnityLabel2Layout.setHorizontalGroup(
            destinoVinhacaCompostagemUnityLabel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createSequentialGroup()
                        .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(volumeVinhacaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(consumoEletricoTotalPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(destinoVinhacaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 291, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createSequentialGroup()
                                .addComponent(planilha5BotaoCalcular)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(formatoInvalidoLabel4))
                            .addComponent(emissaoDeCarbonoPorEletricidadePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createSequentialGroup()
                            .addComponent(emissaoDeCarbonoPelaDestinacaoVinhacaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(45, 45, 45)
                            .addComponent(saldoSesquetroCarbonoPlanilha5Panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addComponent(planilha5RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(51, Short.MAX_VALUE))
        );
        destinoVinhacaCompostagemUnityLabel2Layout.setVerticalGroup(
            destinoVinhacaCompostagemUnityLabel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createSequentialGroup()
                        .addComponent(volumeVinhacaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(consumoEletricoTotalPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createSequentialGroup()
                        .addGap(8, 8, 8)
                        .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(planilha5BotaoCalcular, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(formatoInvalidoLabel4))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(emissaoDeCarbonoPorEletricidadePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(destinoVinhacaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(destinoVinhacaCompostagemUnityLabel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(emissaoDeCarbonoPelaDestinacaoVinhacaPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoSesquetroCarbonoPlanilha5Panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(24, 24, 24)
                .addComponent(planilha5RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(92, Short.MAX_VALUE))
        );

        planilhasCalcs.addTab("6 - Destino da vinhaça e consumo elétrico", destinoVinhacaCompostagemUnityLabel2);

        producaoLixoOrganicoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Produção média de lixo orgânico durante a safra", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        producaoLixoOrganicoPanel.setToolTipText("");
        producaoLixoOrganicoPanel.setName("bla"); // NOI18N

        lixoOrganicoButtonGroup.add(producaoLixoOrganicoUnityMesButton);
        producaoLixoOrganicoUnityMesButton.setText("kg/mês");

        lixoOrganicoButtonGroup.add(producaoLixoOrganicoUnitySemanaButton);
        producaoLixoOrganicoUnitySemanaButton.setText("kg/semana");

        javax.swing.GroupLayout producaoLixoOrganicoUnityPanelLayout = new javax.swing.GroupLayout(producaoLixoOrganicoUnityPanel);
        producaoLixoOrganicoUnityPanel.setLayout(producaoLixoOrganicoUnityPanelLayout);
        producaoLixoOrganicoUnityPanelLayout.setHorizontalGroup(
            producaoLixoOrganicoUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(producaoLixoOrganicoUnityPanelLayout.createSequentialGroup()
                .addComponent(producaoLixoOrganicoUnityMesButton)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(producaoLixoOrganicoUnitySemanaButton, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        producaoLixoOrganicoUnityPanelLayout.setVerticalGroup(
            producaoLixoOrganicoUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(producaoLixoOrganicoUnityPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(producaoLixoOrganicoUnitySemanaButton)
                .addComponent(producaoLixoOrganicoUnityMesButton))
        );

        javax.swing.GroupLayout producaoLixoOrganicoPanelLayout = new javax.swing.GroupLayout(producaoLixoOrganicoPanel);
        producaoLixoOrganicoPanel.setLayout(producaoLixoOrganicoPanelLayout);
        producaoLixoOrganicoPanelLayout.setHorizontalGroup(
            producaoLixoOrganicoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(producaoLixoOrganicoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(producaoLixoOrganicoText, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(producaoLixoOrganicoUnityPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(67, Short.MAX_VALUE))
        );
        producaoLixoOrganicoPanelLayout.setVerticalGroup(
            producaoLixoOrganicoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(producaoLixoOrganicoPanelLayout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(producaoLixoOrganicoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(producaoLixoOrganicoText, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(producaoLixoOrganicoUnityPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(76, 76, 76))
        );

        usoDeVeiculosSafraPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "Uso de veículos pela cachaçaria durante a safra¹", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        usoDeVeiculosSafraPanel.setToolTipText("");
        usoDeVeiculosSafraPanel.setName("bla"); // NOI18N

        usoDeVeiculosSafraFuncionariosLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        usoDeVeiculosSafraFuncionariosLabel.setText("Dos funcionários");

        usoDeVeiculosSafraProprietariosLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        usoDeVeiculosSafraProprietariosLabel.setText("Dos proprietários");
        usoDeVeiculosSafraProprietariosLabel.setMaximumSize(new java.awt.Dimension(64, 18));
        usoDeVeiculosSafraProprietariosLabel.setMinimumSize(new java.awt.Dimension(64, 18));

        usoDeVeiculosSafraMotosLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        usoDeVeiculosSafraMotosLabel.setText("Motos");

        usoDeVeiculosSafraFuncionariosUnityLabel.setText("km");

        usoDeVeiculosSafraProprietariosUnityLabel.setText("km");

        usoDeVeiculosSafraMotosUnityLabel.setText("km");

        usoDeVeiculosSafraTratoresLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        usoDeVeiculosSafraTratoresLabel.setText("Tratores");

        usoDeVeiculosSafraCaminhoesLabel.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        usoDeVeiculosSafraCaminhoesLabel.setText("Caminhões");

        usoDeVeiculosSafraTratoresUnityLabel.setText("L de diesel");

        usoDeVeiculosSafraCaminhoesUnityLabel.setText("L de diesel");

        javax.swing.GroupLayout usoDeVeiculosSafraPanelLayout = new javax.swing.GroupLayout(usoDeVeiculosSafraPanel);
        usoDeVeiculosSafraPanel.setLayout(usoDeVeiculosSafraPanelLayout);
        usoDeVeiculosSafraPanelLayout.setHorizontalGroup(
            usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(usoDeVeiculosSafraPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(usoDeVeiculosSafraPanelLayout.createSequentialGroup()
                        .addComponent(usoDeVeiculosSafraTratoresLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(usoDeVeiculosSafraTratoresText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(usoDeVeiculosSafraTratoresUnityLabel))
                    .addGroup(usoDeVeiculosSafraPanelLayout.createSequentialGroup()
                        .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addGroup(usoDeVeiculosSafraPanelLayout.createSequentialGroup()
                                .addComponent(usoDeVeiculosSafraMotosLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(usoDeVeiculosSafraMotosText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(usoDeVeiculosSafraPanelLayout.createSequentialGroup()
                                .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                    .addComponent(usoDeVeiculosSafraProprietariosLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(usoDeVeiculosSafraFuncionariosLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(usoDeVeiculosSafraFuncionariosText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(usoDeVeiculosSafraProprietariosText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(usoDeVeiculosSafraFuncionariosUnityLabel)
                            .addComponent(usoDeVeiculosSafraProprietariosUnityLabel)
                            .addComponent(usoDeVeiculosSafraMotosUnityLabel)))
                    .addGroup(usoDeVeiculosSafraPanelLayout.createSequentialGroup()
                        .addComponent(usoDeVeiculosSafraCaminhoesLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(usoDeVeiculosSafraCaminhoesText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(usoDeVeiculosSafraCaminhoesUnityLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap(131, Short.MAX_VALUE))
        );
        usoDeVeiculosSafraPanelLayout.setVerticalGroup(
            usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(usoDeVeiculosSafraPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(usoDeVeiculosSafraFuncionariosLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(usoDeVeiculosSafraFuncionariosText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(usoDeVeiculosSafraFuncionariosUnityLabel))
                .addGap(7, 7, 7)
                .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(usoDeVeiculosSafraProprietariosLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(usoDeVeiculosSafraProprietariosText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(usoDeVeiculosSafraProprietariosUnityLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(usoDeVeiculosSafraMotosLabel)
                    .addComponent(usoDeVeiculosSafraMotosText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(usoDeVeiculosSafraMotosUnityLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(usoDeVeiculosSafraTratoresLabel)
                    .addComponent(usoDeVeiculosSafraTratoresText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(usoDeVeiculosSafraTratoresUnityLabel))
                .addGap(6, 6, 6)
                .addGroup(usoDeVeiculosSafraPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(usoDeVeiculosSafraCaminhoesLabel)
                    .addComponent(usoDeVeiculosSafraCaminhoesText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(usoDeVeiculosSafraCaminhoesUnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilha6BotaoCalcular.setText("Calcular");
        planilha6BotaoCalcular.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                planilha6BotaoCalcularActionPerformed(evt);
            }
        });

        lixoOrganicoTotalProduzidoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Lixo orgânico produzido na safra", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        lixoOrganicoTotalProduzidoPanel.setToolTipText("");
        lixoOrganicoTotalProduzidoPanel.setName("bla"); // NOI18N

        lixoOrganicoTotalProduzidoText.setEditable(false);

        lixoOrganicoTotalProduzidoUnityLabel.setText("kg");

        javax.swing.GroupLayout lixoOrganicoTotalProduzidoPanelLayout = new javax.swing.GroupLayout(lixoOrganicoTotalProduzidoPanel);
        lixoOrganicoTotalProduzidoPanel.setLayout(lixoOrganicoTotalProduzidoPanelLayout);
        lixoOrganicoTotalProduzidoPanelLayout.setHorizontalGroup(
            lixoOrganicoTotalProduzidoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(lixoOrganicoTotalProduzidoPanelLayout.createSequentialGroup()
                .addGap(28, 28, 28)
                .addComponent(lixoOrganicoTotalProduzidoText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(lixoOrganicoTotalProduzidoUnityLabel)
                .addContainerGap(118, Short.MAX_VALUE))
        );
        lixoOrganicoTotalProduzidoPanelLayout.setVerticalGroup(
            lixoOrganicoTotalProduzidoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(lixoOrganicoTotalProduzidoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(lixoOrganicoTotalProduzidoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(lixoOrganicoTotalProduzidoUnityLabel))
        );

        emissaoDeCarbonoPorLixoOrganicoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Emissão de carbono por lixo orgânico", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        emissaoDeCarbonoPorLixoOrganicoPanel.setToolTipText("");
        emissaoDeCarbonoPorLixoOrganicoPanel.setName("bla"); // NOI18N

        emissaoDeCarbonoPorLixoOrganicoUnityLabel.setText("ton de CO₂");

        emissaoDeCarbonoPorLixoOrganicoText.setEditable(false);

        javax.swing.GroupLayout emissaoDeCarbonoPorLixoOrganicoPanelLayout = new javax.swing.GroupLayout(emissaoDeCarbonoPorLixoOrganicoPanel);
        emissaoDeCarbonoPorLixoOrganicoPanel.setLayout(emissaoDeCarbonoPorLixoOrganicoPanelLayout);
        emissaoDeCarbonoPorLixoOrganicoPanelLayout.setHorizontalGroup(
            emissaoDeCarbonoPorLixoOrganicoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorLixoOrganicoPanelLayout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addComponent(emissaoDeCarbonoPorLixoOrganicoText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(emissaoDeCarbonoPorLixoOrganicoUnityLabel)
                .addContainerGap(54, Short.MAX_VALUE))
        );
        emissaoDeCarbonoPorLixoOrganicoPanelLayout.setVerticalGroup(
            emissaoDeCarbonoPorLixoOrganicoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorLixoOrganicoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(emissaoDeCarbonoPorLixoOrganicoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(emissaoDeCarbonoPorLixoOrganicoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPorLixoOrganicoUnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        emissaoDeCarbonoPorVeiculosPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Emissão de carbono por veículos", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        emissaoDeCarbonoPorVeiculosPanel.setToolTipText("");
        emissaoDeCarbonoPorVeiculosPanel.setName("bla"); // NOI18N

        emissaoDeCarbonoPorVeiculosUnityLabel.setText("ton de CO₂");

        emissaoDeCarbonoPorVeiculosText.setEditable(false);

        javax.swing.GroupLayout emissaoDeCarbonoPorVeiculosPanelLayout = new javax.swing.GroupLayout(emissaoDeCarbonoPorVeiculosPanel);
        emissaoDeCarbonoPorVeiculosPanel.setLayout(emissaoDeCarbonoPorVeiculosPanelLayout);
        emissaoDeCarbonoPorVeiculosPanelLayout.setHorizontalGroup(
            emissaoDeCarbonoPorVeiculosPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorVeiculosPanelLayout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addComponent(emissaoDeCarbonoPorVeiculosText, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(emissaoDeCarbonoPorVeiculosUnityLabel)
                .addContainerGap(25, Short.MAX_VALUE))
        );
        emissaoDeCarbonoPorVeiculosPanelLayout.setVerticalGroup(
            emissaoDeCarbonoPorVeiculosPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(emissaoDeCarbonoPorVeiculosPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(emissaoDeCarbonoPorVeiculosPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(emissaoDeCarbonoPorVeiculosText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPorVeiculosUnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        saldoSesquetroCarbonoPlanilha6Panel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Saldo parcial de sequestro de carbono", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        saldoSesquetroCarbonoPlanilha6Panel.setToolTipText("");
        saldoSesquetroCarbonoPlanilha6Panel.setName("bla"); // NOI18N

        saldoSesquetroCarbonoPlanilha6UnityLabel.setText("ton de CO₂");

        saldoSequestroCarbonoPlanilha6Text.setEditable(false);

        javax.swing.GroupLayout saldoSesquetroCarbonoPlanilha6PanelLayout = new javax.swing.GroupLayout(saldoSesquetroCarbonoPlanilha6Panel);
        saldoSesquetroCarbonoPlanilha6Panel.setLayout(saldoSesquetroCarbonoPlanilha6PanelLayout);
        saldoSesquetroCarbonoPlanilha6PanelLayout.setHorizontalGroup(
            saldoSesquetroCarbonoPlanilha6PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSesquetroCarbonoPlanilha6PanelLayout.createSequentialGroup()
                .addGap(54, 54, 54)
                .addComponent(saldoSequestroCarbonoPlanilha6Text, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(saldoSesquetroCarbonoPlanilha6UnityLabel)
                .addContainerGap(58, Short.MAX_VALUE))
        );
        saldoSesquetroCarbonoPlanilha6PanelLayout.setVerticalGroup(
            saldoSesquetroCarbonoPlanilha6PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoSesquetroCarbonoPlanilha6PanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(saldoSesquetroCarbonoPlanilha6PanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(saldoSequestroCarbonoPlanilha6Text, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoSesquetroCarbonoPlanilha6UnityLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilha6Rodape1Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha6Rodape1Label.setText("¹Para o cálculo de emissões de gases de efeito estufa, o óleo diesel emite 3,01 kg de dióxido de carbono por litro (IPCC [2006], ");

        planilha6Rodape2Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha6Rodape2Label.setText("(ALVARES JR. O.M. & R.R.A. LINKE , s.d. “METODOLOGIA SIMPLIFICADA DE CÁLCULO DAS EMISSÕES DE GASES DO EFEITO");

        planilha6Rodape3Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha6Rodape3Label.setText("MME [2009]; Ecoinvent (IFU;  IFEU, 2006). No entanto, utilizamos aqui 2,73 kd de dióxido de carbono por litro de diesel.");

        planilha6Rodape4Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha6Rodape4Label.setText("ESTUFA DE FROTAS DE VEÍCULOS NO BRASIL. – (CETESB)).");

        javax.swing.GroupLayout planilha6RodapePanelLayout = new javax.swing.GroupLayout(planilha6RodapePanel);
        planilha6RodapePanel.setLayout(planilha6RodapePanelLayout);
        planilha6RodapePanelLayout.setHorizontalGroup(
            planilha6RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(planilha6RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha6RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 714, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
            .addGroup(planilha6RodapePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(planilha6RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(planilha6Rodape1Label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(planilha6Rodape2Label, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(planilha6RodapePanelLayout.createSequentialGroup()
                        .addComponent(planilha6Rodape3Label)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addComponent(planilha6Rodape4Label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        planilha6RodapePanelLayout.setVerticalGroup(
            planilha6RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, planilha6RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha6RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha6Rodape1Label)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha6Rodape3Label, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha6Rodape2Label)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha6Rodape4Label)
                .addContainerGap(25, Short.MAX_VALUE))
        );

        formatoInvalidoLabel5.setText("Formato de entrada inválido! ");

        javax.swing.GroupLayout tab7Layout = new javax.swing.GroupLayout(tab7);
        tab7.setLayout(tab7Layout);
        tab7Layout.setHorizontalGroup(
            tab7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab7Layout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addGroup(tab7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(planilha6RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(tab7Layout.createSequentialGroup()
                        .addComponent(usoDeVeiculosSafraPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(tab7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(producaoLixoOrganicoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lixoOrganicoTotalProduzidoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(tab7Layout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addComponent(planilha6BotaoCalcular)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(formatoInvalidoLabel5))))
                    .addGroup(tab7Layout.createSequentialGroup()
                        .addComponent(emissaoDeCarbonoPorLixoOrganicoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(2, 2, 2)
                        .addComponent(emissaoDeCarbonoPorVeiculosPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(saldoSesquetroCarbonoPlanilha6Panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(49, Short.MAX_VALUE))
        );
        tab7Layout.setVerticalGroup(
            tab7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab7Layout.createSequentialGroup()
                .addGap(12, 12, 12)
                .addGroup(tab7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(tab7Layout.createSequentialGroup()
                        .addComponent(producaoLixoOrganicoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(tab7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(planilha6BotaoCalcular, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(formatoInvalidoLabel5))
                        .addGap(18, 18, 18)
                        .addComponent(lixoOrganicoTotalProduzidoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(usoDeVeiculosSafraPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(tab7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(emissaoDeCarbonoPorLixoOrganicoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(emissaoDeCarbonoPorVeiculosPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoSesquetroCarbonoPlanilha6Panel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha6RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(63, Short.MAX_VALUE))
        );

        planilhasCalcs.addTab("7 - Lixo orgânico e veículos", tab7);

        saldoTotalSesquetroCarbonoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), "> Saldo total de sequestro de carbono", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        saldoTotalSesquetroCarbonoPanel.setToolTipText("");
        saldoTotalSesquetroCarbonoPanel.setName("bla"); // NOI18N

        saldoTotalSesquetroCarbonoLabel.setText("ton de CO₂");

        saldoTotalSesquetroCarbonoText.setEditable(false);

        javax.swing.GroupLayout saldoTotalSesquetroCarbonoPanelLayout = new javax.swing.GroupLayout(saldoTotalSesquetroCarbonoPanel);
        saldoTotalSesquetroCarbonoPanel.setLayout(saldoTotalSesquetroCarbonoPanelLayout);
        saldoTotalSesquetroCarbonoPanelLayout.setHorizontalGroup(
            saldoTotalSesquetroCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoTotalSesquetroCarbonoPanelLayout.createSequentialGroup()
                .addGap(54, 54, 54)
                .addComponent(saldoTotalSesquetroCarbonoText, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(saldoTotalSesquetroCarbonoLabel)
                .addContainerGap(90, Short.MAX_VALUE))
        );
        saldoTotalSesquetroCarbonoPanelLayout.setVerticalGroup(
            saldoTotalSesquetroCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(saldoTotalSesquetroCarbonoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(saldoTotalSesquetroCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(saldoTotalSesquetroCarbonoText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoTotalSesquetroCarbonoLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        compensacaoCarbonoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED), ">Compensação de plantio ou de recuperação", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 13))); // NOI18N
        compensacaoCarbonoPanel.setToolTipText("");
        compensacaoCarbonoPanel.setName("bla"); // NOI18N

        compensacaoCarbonoMudasUnityLabel.setText("mudas");

        compensacaoCarbonoMudasText.setEditable(false);

        compensacaoCarbonoAreaText.setEditable(false);

        compensacaoCarbonoAreaUnityLabel.setText("ha");

        compensacaoCarbonoMudasLabel.setText("Em árvores¹");

        compensacaoCarbonoAreaLabel.setText("Em área²");

        javax.swing.GroupLayout compensacaoCarbonoPanelLayout = new javax.swing.GroupLayout(compensacaoCarbonoPanel);
        compensacaoCarbonoPanel.setLayout(compensacaoCarbonoPanelLayout);
        compensacaoCarbonoPanelLayout.setHorizontalGroup(
            compensacaoCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(compensacaoCarbonoPanelLayout.createSequentialGroup()
                .addContainerGap(21, Short.MAX_VALUE)
                .addGroup(compensacaoCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(compensacaoCarbonoMudasLabel, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(compensacaoCarbonoAreaLabel, javax.swing.GroupLayout.Alignment.TRAILING))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(compensacaoCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(compensacaoCarbonoMudasText, javax.swing.GroupLayout.DEFAULT_SIZE, 71, Short.MAX_VALUE)
                    .addComponent(compensacaoCarbonoAreaText))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(compensacaoCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(compensacaoCarbonoMudasUnityLabel)
                    .addComponent(compensacaoCarbonoAreaUnityLabel))
                .addGap(86, 86, 86))
        );
        compensacaoCarbonoPanelLayout.setVerticalGroup(
            compensacaoCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(compensacaoCarbonoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(compensacaoCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(compensacaoCarbonoMudasText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(compensacaoCarbonoMudasUnityLabel)
                    .addComponent(compensacaoCarbonoMudasLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(compensacaoCarbonoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(compensacaoCarbonoAreaText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(compensacaoCarbonoAreaUnityLabel)
                    .addComponent(compensacaoCarbonoAreaLabel))
                .addContainerGap(15, Short.MAX_VALUE))
        );

        planilha7Rodape1Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha7Rodape1Label.setText("¹De acordo com o programa de carbono compensado do LEPAC, são necessárias 5 árvores da Mata Atlântica para sequestrar");

        planilha7Rodape2Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha7Rodape2Label.setText("²No programa de recuperação florestal do Quilombo do Cabral (Paraty, RJ), estima-se um plantio de 1600 árvores por hectare.");

        planilha7Rodape3Label.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        planilha7Rodape3Label.setText("uma tonelada de dióxido de carbono crescendo por pelo menos 30 anos. Este valor deve ser adaptado de acordo com a região.");

        javax.swing.GroupLayout planilha7RodapePanelLayout = new javax.swing.GroupLayout(planilha7RodapePanel);
        planilha7RodapePanel.setLayout(planilha7RodapePanelLayout);
        planilha7RodapePanelLayout.setHorizontalGroup(
            planilha7RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(planilha7RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha7RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 714, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
            .addGroup(planilha7RodapePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(planilha7RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(planilha7Rodape1Label, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(planilha7Rodape2Label, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(planilha7RodapePanelLayout.createSequentialGroup()
                        .addComponent(planilha7Rodape3Label)
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
        );
        planilha7RodapePanelLayout.setVerticalGroup(
            planilha7RodapePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, planilha7RodapePanelLayout.createSequentialGroup()
                .addComponent(planilha7RodapeSeparator, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha7Rodape1Label)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha7Rodape3Label)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha7Rodape2Label, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        reinciarLayerFrame.setLayout(new javax.swing.OverlayLayout(reinciarLayerFrame));

        botaoReiniciarButton.setText("Reiniciar");
        botaoReiniciarButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                botaoReiniciarButtonActionPerformed(evt);
            }
        });
        reinciarLayerFrame.add(botaoReiniciarButton);

        desejaReinciarFrame.setClosable(true);
        desejaReinciarFrame.setVisible(true);

        desejaReinciarSimButton.setText("Sim");
        desejaReinciarSimButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                desejaReinciarSimButtonActionPerformed(evt);
            }
        });

        desejaReinciarNaoButton.setText("Não");
        desejaReinciarNaoButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                desejaReinciarNaoButtonActionPerformed(evt);
            }
        });

        desejaReinciarLabel.setText("Deseja reiniciar cálculos?");

        javax.swing.GroupLayout desejaReinciarFrameLayout = new javax.swing.GroupLayout(desejaReinciarFrame.getContentPane());
        desejaReinciarFrame.getContentPane().setLayout(desejaReinciarFrameLayout);
        desejaReinciarFrameLayout.setHorizontalGroup(
            desejaReinciarFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(desejaReinciarFrameLayout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addGroup(desejaReinciarFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(desejaReinciarFrameLayout.createSequentialGroup()
                        .addGap(4, 4, 4)
                        .addComponent(desejaReinciarSimButton)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(desejaReinciarNaoButton))
                    .addComponent(desejaReinciarLabel))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        desejaReinciarFrameLayout.setVerticalGroup(
            desejaReinciarFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, desejaReinciarFrameLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(desejaReinciarLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(desejaReinciarFrameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(desejaReinciarSimButton)
                    .addComponent(desejaReinciarNaoButton))
                .addContainerGap(14, Short.MAX_VALUE))
        );

        reinciarLayerFrame.add(desejaReinciarFrame);

        javax.swing.GroupLayout tab8Layout = new javax.swing.GroupLayout(tab8);
        tab8.setLayout(tab8Layout);
        tab8Layout.setHorizontalGroup(
            tab8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab8Layout.createSequentialGroup()
                .addGroup(tab8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(tab8Layout.createSequentialGroup()
                        .addGap(38, 38, 38)
                        .addGroup(tab8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(tab8Layout.createSequentialGroup()
                                .addComponent(saldoTotalSesquetroCarbonoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(27, 27, 27)
                                .addComponent(compensacaoCarbonoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(planilha7RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(tab8Layout.createSequentialGroup()
                        .addGap(282, 282, 282)
                        .addComponent(reinciarLayerFrame, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        tab8Layout.setVerticalGroup(
            tab8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tab8Layout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addGroup(tab8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(compensacaoCarbonoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(saldoTotalSesquetroCarbonoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(reinciarLayerFrame, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilha7RodapePanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(144, Short.MAX_VALUE))
        );

        planilhasCalcs.addTab("8 - Balanço total", tab8);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(cabecalhoPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 810, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(planilhasCalcs, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(cabecalhoPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(planilhasCalcs, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        planilhasCalcs.getAccessibleContext().setAccessibleName("1 - Início");
        planilhasCalcs.getAccessibleContext().setAccessibleDescription("");

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void botaoReiniciarButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botaoReiniciarButtonActionPerformed
        desejaReinciarFrame.setVisible(true);
    }//GEN-LAST:event_botaoReiniciarButtonActionPerformed

    private void desejaReinciarNaoButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_desejaReinciarNaoButtonActionPerformed
        desejaReinciarFrame.setVisible(false);
    }//GEN-LAST:event_desejaReinciarNaoButtonActionPerformed

    private void planilha1CalcularBotaoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_planilha1CalcularBotaoActionPerformed
       
        calledVector[0] = calcularPlanilha2() | calledVector[0];

        if (calledVector[1] == true)
            calcularPlanilha3();
        if (calledVector[2] == true)
            calcularPlanilha3();
        if (calledVector[3] == true)
            calcularPlanilha3();
        if (calledVector[4] == true)
            calcularPlanilha3();
        if (calledVector[5] == true)
            calcularPlanilha3();                                                
    }//GEN-LAST:event_planilha1CalcularBotaoActionPerformed

    private void planilha2CalcularBotaoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_planilha2CalcularBotaoActionPerformed
        if (calledVector[0] == true) {
            calcularPlanilha3();
            calledVector[1] = true;
        }
    }//GEN-LAST:event_planilha2CalcularBotaoActionPerformed

    private void planilha3BotaoCalcularActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_planilha3BotaoCalcularActionPerformed
        if (calledVector[0] == true) {
            calcularPlanilha4();
            calledVector[2] = true;
        }
    }//GEN-LAST:event_planilha3BotaoCalcularActionPerformed

    private void planilha4BotaoCalcularActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_planilha4BotaoCalcularActionPerformed
        if (calledVector[0] == true) {
            calcularPlanilha5();
            calledVector[3] = true;
        }
    }//GEN-LAST:event_planilha4BotaoCalcularActionPerformed

    private void planilha5BotaoCalcularActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_planilha5BotaoCalcularActionPerformed
        if (calledVector[0] == true) {
            calcularPlanilha6();
            calledVector[4] = true;
        }
       
    }//GEN-LAST:event_planilha5BotaoCalcularActionPerformed

    private void planilha6BotaoCalcularActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_planilha6BotaoCalcularActionPerformed
        if (calledVector[0] == true) {
            calcularPlanilha7();
            calledVector[5] = true;
        }
    }//GEN-LAST:event_planilha6BotaoCalcularActionPerformed

    private void desejaReinciarSimButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_desejaReinciarSimButtonActionPerformed
        desejaReinciarFrame.setVisible(true);
        restart();
    }//GEN-LAST:event_desejaReinciarSimButtonActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(CalculadoraGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(CalculadoraGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(CalculadoraGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(CalculadoraGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                new CalculadoraGUI().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel areaCanaConsorciadaLabel;
    private javax.swing.JTextField areaCanaConsorciadaText;
    private javax.swing.JLabel areaCanaDeOutrosLabel;
    private javax.swing.JTextField areaCanaDeOutrosText;
    private javax.swing.JPanel areaCanaPanel;
    private javax.swing.JLabel areaCanaPropriaLabel;
    private javax.swing.JTextField areaCanaPropriaText;
    private javax.swing.JTextField areaPercentualAlambiqueText;
    private javax.swing.JPanel areaPercentualTituloPanel;
    private javax.swing.JLabel areaUnityLabel;
    private javax.swing.JLabel areaUnityLabel1;
    private javax.swing.JLabel areaUnityLabel2;
    private javax.swing.JLabel areaUnityLabel3;
    private javax.swing.JLabel autores;
    private javax.swing.JLabel autores1;
    private javax.swing.JButton botaoReiniciarButton;
    private javax.swing.JPanel cabecalhoPanel;
    private javax.swing.JLabel compensacaoCarbonoAreaLabel;
    private javax.swing.JTextField compensacaoCarbonoAreaText;
    private javax.swing.JLabel compensacaoCarbonoAreaUnityLabel;
    private javax.swing.JLabel compensacaoCarbonoMudasLabel;
    private javax.swing.JTextField compensacaoCarbonoMudasText;
    private javax.swing.JLabel compensacaoCarbonoMudasUnityLabel;
    private javax.swing.JPanel compensacaoCarbonoPanel;
    private javax.swing.JLabel consumoDeMotoresMoagemDieselLabel;
    private javax.swing.JTextField consumoDeMotoresMoagemDieselText;
    private javax.swing.JLabel consumoDeMotoresMoagemDieselUnityLabel;
    private javax.swing.JLabel consumoDeMotoresMoagemEletricoLabel;
    private javax.swing.JTextField consumoDeMotoresMoagemEletricoText;
    private javax.swing.JLabel consumoDeMotoresMoagemEletricoUnityLabel;
    private javax.swing.JPanel consumoDeMotoresMoagemPanel;
    private javax.swing.JPanel consumoEletricoTotalPanel;
    private javax.swing.JTextField consumoEletricoTotalText;
    private javax.swing.JLabel consumoEletricoTotalUnityLabel;
    private javax.swing.JInternalFrame desejaReinciarFrame;
    private javax.swing.JLabel desejaReinciarLabel;
    private javax.swing.JButton desejaReinciarNaoButton;
    private javax.swing.JButton desejaReinciarSimButton;
    private javax.swing.ButtonGroup destinoDaVinhacaAdubacaoCruaUnityButtonGroup;
    private javax.swing.ButtonGroup destinoDaVinhacaAdubacaoQueimadaUnityButtonGroup;
    private javax.swing.ButtonGroup destinoDaVinhacaCompostagemUnityButtonGroup;
    private javax.swing.ButtonGroup destinoDaVinhacaLixoUnityButtonGroup;
    private javax.swing.JLabel destinoDoBagacoAlimentacaoAnimalLabel;
    private javax.swing.JLabel destinoDoBagacoAlimentacaoAnimalLabel2;
    private javax.swing.JRadioButton destinoDoBagacoAlimentacaoAnimalM3Button;
    private javax.swing.JPanel destinoDoBagacoAlimentacaoAnimalPanel;
    private javax.swing.JRadioButton destinoDoBagacoAlimentacaoAnimalPercentualButton;
    private javax.swing.JTextField destinoDoBagacoAlimentacaoAnimalText;
    private javax.swing.JRadioButton destinoDoBagacoAlimentacaoAnimalTonButton;
    private javax.swing.ButtonGroup destinoDoBagacoAlimentacaoAnimalUnityButtonGroup;
    private javax.swing.JLabel destinoDoBagacoCompostagemLabel;
    private javax.swing.JTextField destinoDoBagacoCompostagemText;
    private javax.swing.ButtonGroup destinoDoBagacoCompostagemUnityButtonGroup;
    private javax.swing.JRadioButton destinoDoBagacoCompostagemUnityM3Butoon;
    private javax.swing.JPanel destinoDoBagacoCompostagemUnityPanel;
    private javax.swing.JRadioButton destinoDoBagacoCompostagemUnityPercentualButton;
    private javax.swing.JRadioButton destinoDoBagacoCompostagemUnityTonButton;
    private javax.swing.JLabel destinoDoBagacoLixoLabel;
    private javax.swing.JTextField destinoDoBagacoLixoText;
    private javax.swing.ButtonGroup destinoDoBagacoLixoUnityButtonGroup;
    private javax.swing.JRadioButton destinoDoBagacoLixoUnityM3Button;
    private javax.swing.JPanel destinoDoBagacoLixoUnityPanel;
    private javax.swing.JRadioButton destinoDoBagacoLixoUnityPercentualButton;
    private javax.swing.JRadioButton destinoDoBagacoLixoUnityTonButton;
    private javax.swing.JPanel destinoDoBagacoPanel;
    private javax.swing.JTextField destinoDoBagacoQueimaText;
    private javax.swing.ButtonGroup destinoDoBagacoQueimaUnityButtonGroupl;
    private javax.swing.JRadioButton destinoDoBagacoQueimaUnityM3Button;
    private javax.swing.JPanel destinoDoBagacoQueimaUnityPanel;
    private javax.swing.JRadioButton destinoDoBagacoQueimaUnityPercentualButton;
    private javax.swing.JRadioButton destinoDoBagacoQueimaUnityTonButton;
    private javax.swing.JLabel destinoDoBagacoQuemaLabel;
    private javax.swing.JLabel destinoVinhacaAdubacaoCruaLabel;
    private javax.swing.JTextField destinoVinhacaAdubacaoCruaText;
    private javax.swing.JRadioButton destinoVinhacaAdubacaoCruaUnityM3Button;
    private javax.swing.JPanel destinoVinhacaAdubacaoCruaUnityPanel;
    private javax.swing.JRadioButton destinoVinhacaAdubacaoCruaUnityPercentualButton;
    private javax.swing.JLabel destinoVinhacaAdubacaoQueimadaLabel;
    private javax.swing.JTextField destinoVinhacaAdubacaoQueimadaText;
    private javax.swing.JRadioButton destinoVinhacaAdubacaoQueimadaUnityM3Button;
    private javax.swing.JPanel destinoVinhacaAdubacaoQueimadaUnityPanel;
    private javax.swing.JRadioButton destinoVinhacaAdubacaoQueimadaUnityPercentualButton;
    private javax.swing.JLabel destinoVinhacaCompostagemLabel;
    private javax.swing.JLabel destinoVinhacaCompostagemLabel2;
    private javax.swing.JTextField destinoVinhacaCompostagemText;
    private javax.swing.JPanel destinoVinhacaCompostagemUnityLabel2;
    private javax.swing.JRadioButton destinoVinhacaCompostagemUnityM3Panel;
    private javax.swing.JPanel destinoVinhacaCompostagemUnityPanel;
    private javax.swing.JRadioButton destinoVinhacaCompostagemUnityPercentualPanel;
    private javax.swing.JLabel destinoVinhacaLixoLabel;
    private javax.swing.JTextField destinoVinhacaLixoText;
    private javax.swing.JRadioButton destinoVinhacaLixoUnityM3Button;
    private javax.swing.JPanel destinoVinhacaLixoUnityPanel;
    private javax.swing.JRadioButton destinoVinhacaLixoUnityPercentualButton;
    private javax.swing.JPanel destinoVinhacaPanel;
    private javax.swing.JPanel emissaoDeCarbonoPelaDestinacaoBagacoPanel;
    private javax.swing.JTextField emissaoDeCarbonoPelaDestinacaoBagacoText;
    private javax.swing.JLabel emissaoDeCarbonoPelaDestinacaoBagacoUnityLabel;
    private javax.swing.JLabel emissaoDeCarbonoPelaDestinacaoVinhacaLabel;
    private javax.swing.JPanel emissaoDeCarbonoPelaDestinacaoVinhacaPanel;
    private javax.swing.JTextField emissaoDeCarbonoPelaDestinacaoVinhacaText;
    private javax.swing.JPanel emissaoDeCarbonoPorEletricidadePanel;
    private javax.swing.JTextField emissaoDeCarbonoPorEletricidadeText;
    private javax.swing.JLabel emissaoDeCarbonoPorEletricidadeUnityLabel;
    private javax.swing.JPanel emissaoDeCarbonoPorFermentacaoPanel;
    private javax.swing.JTextField emissaoDeCarbonoPorFermentacaoTextLabel;
    private javax.swing.JLabel emissaoDeCarbonoPorFermentacaoUnityLabel;
    private javax.swing.JPanel emissaoDeCarbonoPorLixoOrganicoPanel;
    private javax.swing.JTextField emissaoDeCarbonoPorLixoOrganicoText;
    private javax.swing.JLabel emissaoDeCarbonoPorLixoOrganicoUnityLabel;
    private javax.swing.JPanel emissaoDeCarbonoPorMoagemPanel;
    private javax.swing.JTextField emissaoDeCarbonoPorMoagemText;
    private javax.swing.JLabel emissaoDeCarbonoPorMoagemUnityLabel;
    private javax.swing.JPanel emissaoDeCarbonoPorQueimaPanel;
    private javax.swing.JTextField emissaoDeCarbonoPorQueimaText;
    private javax.swing.JLabel emissaoDeCarbonoPorQueimalLabel;
    private javax.swing.JPanel emissaoDeCarbonoPorVeiculosPanel;
    private javax.swing.JTextField emissaoDeCarbonoPorVeiculosText;
    private javax.swing.JLabel emissaoDeCarbonoPorVeiculosUnityLabel;
    private javax.swing.JLabel formatoInvalidoLabel;
    private javax.swing.JLabel formatoInvalidoLabel1;
    private javax.swing.JLabel formatoInvalidoLabel2;
    private javax.swing.JLabel formatoInvalidoLabel3;
    private javax.swing.JLabel formatoInvalidoLabel4;
    private javax.swing.JLabel formatoInvalidoLabel5;
    private javax.swing.JScrollPane inicioObservacoesScrollPanel;
    private javax.swing.JTextArea inicioObservacoesText;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.ButtonGroup lixoOrganicoButtonGroup;
    private javax.swing.JPanel lixoOrganicoTotalProduzidoPanel;
    private javax.swing.JTextField lixoOrganicoTotalProduzidoText;
    private javax.swing.JLabel lixoOrganicoTotalProduzidoUnityLabel;
    private javax.swing.JLabel percentualDeCanaConvertidaEmBagacoLabel;
    private javax.swing.JTextField percentualDeCanaConvertidaEmBagacoText;
    private javax.swing.JPanel percentualDeCanaConvertidaEmBagaçoPanel;
    private javax.swing.JLabel percentualDeCanavialQueimadoLabel;
    private javax.swing.JPanel percentualDeCanavialQueimadoPanel;
    private javax.swing.JTextField percentualDeCanavialQueimadoPanelText;
    private javax.swing.JLabel pesoCanaConsorciadaLabel;
    private javax.swing.JTextField pesoCanaConsorciadaText;
    private javax.swing.JLabel pesoCanaDeOutrosLabel;
    private javax.swing.JTextField pesoCanaDeOutrosText;
    private javax.swing.JPanel pesoCanaPanel;
    private javax.swing.JLabel pesoCanaPropriaLabel;
    private javax.swing.JTextField pesoCanaPropriaText;
    private javax.swing.JTextField pesoPercentualAlambiqueText;
    private javax.swing.JPanel pesoPercentualTituloPanel;
    private javax.swing.JLabel pesoPorAreaCanaConsorciadaLabel;
    private javax.swing.JTextField pesoPorAreaCanaConsorciadaText;
    private javax.swing.JLabel pesoPorAreaCanaDeOutrosLabel;
    private javax.swing.JTextField pesoPorAreaCanaDeOutrosText;
    private javax.swing.JPanel pesoPorAreaCanaPanel;
    private javax.swing.JLabel pesoPorAreaCanaPropriaLabel;
    private javax.swing.JTextField pesoPorAreaCanaPropriaText;
    private javax.swing.JLabel pesoPorAreaUnityLabel;
    private javax.swing.JLabel pesoPorAreaUnityLabel1;
    private javax.swing.JLabel pesoPorAreaUnityLabel2;
    private javax.swing.JLabel pesoTotalDeBagacoLabel;
    private javax.swing.JTextField pesoTotalDeBagacoText;
    private javax.swing.JLabel pesoUnityLabel;
    private javax.swing.JLabel pesoUnityLabel1;
    private javax.swing.JLabel pesoUnityLabel2;
    private javax.swing.JLabel pesoUnityLabel3;
    private javax.swing.JButton planilha1CalcularBotao;
    private javax.swing.JPanel planilha1Rodape;
    private javax.swing.JLabel planilha1Rodape1Label;
    private javax.swing.JLabel planilha1Rodape2Label;
    private javax.swing.JLabel planilha1Rodape2Label1;
    private javax.swing.JLabel planilha1Rodape3Label;
    private javax.swing.JLabel planilha1Rodape3Label1;
    private javax.swing.JSeparator planilha1RodapeSeparator;
    private javax.swing.JButton planilha2CalcularBotao;
    private javax.swing.JLabel planilha2RodapeLabel;
    private javax.swing.JLabel planilha2RodapeLabel1;
    private javax.swing.JPanel planilha2RodapePanel;
    private javax.swing.JSeparator planilha2RodapeSeparator;
    private javax.swing.JButton planilha3BotaoCalcular;
    private javax.swing.JLabel planilha3RodapeLabel;
    private javax.swing.JLabel planilha3RodapeLabel1;
    private javax.swing.JLabel planilha3RodapeLabel2;
    private javax.swing.JLabel planilha3RodapeLabel3;
    private javax.swing.JPanel planilha3RodapePanel;
    private javax.swing.JSeparator planilha3RodapeSeparator;
    private javax.swing.JButton planilha4BotaoCalcular;
    private javax.swing.JLabel planilha4Rodape1Label;
    private javax.swing.JLabel planilha4Rodape2Label;
    private javax.swing.JLabel planilha4Rodape3Label;
    private javax.swing.JLabel planilha4Rodape4Label;
    private javax.swing.JLabel planilha4Rodape4Label1;
    private javax.swing.JPanel planilha4RodapePanel;
    private javax.swing.JSeparator planilha4RodapeSeparator;
    private javax.swing.JButton planilha5BotaoCalcular;
    private javax.swing.JLabel planilha5Rodape1Label;
    private javax.swing.JLabel planilha5Rodape2Label;
    private javax.swing.JLabel planilha5Rodape3Label;
    private javax.swing.JPanel planilha5RodapePanel;
    private javax.swing.JSeparator planilha5RodapeSeparator;
    private javax.swing.JButton planilha6BotaoCalcular;
    private javax.swing.JLabel planilha6Rodape1Label;
    private javax.swing.JLabel planilha6Rodape2Label;
    private javax.swing.JLabel planilha6Rodape3Label;
    private javax.swing.JLabel planilha6Rodape4Label;
    private javax.swing.JPanel planilha6RodapePanel;
    private javax.swing.JSeparator planilha6RodapeSeparator;
    private javax.swing.JLabel planilha7Rodape1Label;
    private javax.swing.JLabel planilha7Rodape2Label;
    private javax.swing.JLabel planilha7Rodape3Label;
    private javax.swing.JPanel planilha7RodapePanel;
    private javax.swing.JSeparator planilha7RodapeSeparator;
    private javax.swing.JTabbedPane planilhasCalcs;
    private javax.swing.JPanel producaoLixoOrganicoPanel;
    private javax.swing.JTextField producaoLixoOrganicoText;
    private javax.swing.JRadioButton producaoLixoOrganicoUnityMesButton;
    private javax.swing.JPanel producaoLixoOrganicoUnityPanel;
    private javax.swing.JRadioButton producaoLixoOrganicoUnitySemanaButton;
    private javax.swing.JLabel referencia;
    private javax.swing.JLayeredPane reinciarLayerFrame;
    private javax.swing.JPanel saldoSequestroCarbonoPlanilha2Panel;
    private javax.swing.JTextField saldoSequestroCarbonoPlanilha2Text;
    private javax.swing.JLabel saldoSequestroCarbonoPlanilha2UnityLabel;
    private javax.swing.JTextField saldoSequestroCarbonoPlanilha3Text;
    private javax.swing.JTextField saldoSequestroCarbonoPlanilha4Text;
    private javax.swing.JTextField saldoSequestroCarbonoPlanilha5Text;
    private javax.swing.JTextField saldoSequestroCarbonoPlanilha6Text;
    private javax.swing.JPanel saldoSesquetroCarbonoPlanilha3Panel;
    private javax.swing.JLabel saldoSesquetroCarbonoPlanilha3UnityLabel;
    private javax.swing.JPanel saldoSesquetroCarbonoPlanilha4Panel;
    private javax.swing.JLabel saldoSesquetroCarbonoPlanilha4UnityLabel;
    private javax.swing.JPanel saldoSesquetroCarbonoPlanilha5Panel;
    private javax.swing.JLabel saldoSesquetroCarbonoPlanilha5UnityLabel;
    private javax.swing.JPanel saldoSesquetroCarbonoPlanilha6Panel;
    private javax.swing.JLabel saldoSesquetroCarbonoPlanilha6UnityLabel;
    private javax.swing.JLabel saldoTotalSesquetroCarbonoLabel;
    private javax.swing.JPanel saldoTotalSesquetroCarbonoPanel;
    private javax.swing.JTextField saldoTotalSesquetroCarbonoText;
    private javax.swing.JLabel sequestroDeCarbonoAreaLabel;
    private javax.swing.JTextField sequestroDeCarbonoAreaText;
    private javax.swing.JLabel sequestroDeCarbonoAreaUnityLabel;
    private javax.swing.JPanel sequestroDeCarbonoPanel;
    private javax.swing.JLabel sequestroDeCarbonoPesoLabel;
    private javax.swing.JTextField sequestroDeCarbonoPesoText;
    private javax.swing.JLabel sequestroDeCarbonoPesoUnityLabel;
    private javax.swing.JLabel sequestroDeCarbonoTotalLabel;
    private javax.swing.JTextField sequestroDeCarbonoTotalText;
    private javax.swing.JLabel sequestroDeCarbonoTotalUnityLabel;
    private javax.swing.JPanel tab1;
    private javax.swing.JPanel tab2;
    private javax.swing.JPanel tab3;
    private javax.swing.JPanel tab4;
    private javax.swing.JPanel tab5;
    private javax.swing.JPanel tab7;
    private javax.swing.JPanel tab8;
    private javax.swing.JLabel totalBagacoCalculadoLabel;
    private javax.swing.JTextField totalBagacoCalculadoText;
    private javax.swing.JLabel totalCanaUtilizadaAreaLabel;
    private javax.swing.JTextField totalCanaUtilizadaAreaText;
    private javax.swing.JLabel totalCanaUtilizadaAreaUnityLabel;
    private javax.swing.JLabel totalCanaUtilizadaPesoLabel;
    private javax.swing.JTextField totalCanaUtilizadaPesoText;
    private javax.swing.JLabel totalCanaUtilizadaPesoUnityLabel;
    private javax.swing.JPanel totalCanaUtilizadoPanel;
    private javax.swing.JLabel totalVinhacaCalculadoLabel;
    private javax.swing.JTextField totalVinhacaCalculadoText;
    private javax.swing.JLabel unicampLogo;
    private javax.swing.JLabel usoDeVeiculosSafraCaminhoesLabel;
    private javax.swing.JTextField usoDeVeiculosSafraCaminhoesText;
    private javax.swing.JLabel usoDeVeiculosSafraCaminhoesUnityLabel;
    private javax.swing.JLabel usoDeVeiculosSafraFuncionariosLabel;
    private javax.swing.JTextField usoDeVeiculosSafraFuncionariosText;
    private javax.swing.JLabel usoDeVeiculosSafraFuncionariosUnityLabel;
    private javax.swing.JLabel usoDeVeiculosSafraMotosLabel;
    private javax.swing.JTextField usoDeVeiculosSafraMotosText;
    private javax.swing.JLabel usoDeVeiculosSafraMotosUnityLabel;
    private javax.swing.JPanel usoDeVeiculosSafraPanel;
    private javax.swing.JLabel usoDeVeiculosSafraProprietariosLabel;
    private javax.swing.JTextField usoDeVeiculosSafraProprietariosText;
    private javax.swing.JLabel usoDeVeiculosSafraProprietariosUnityLabel;
    private javax.swing.JLabel usoDeVeiculosSafraTratoresLabel;
    private javax.swing.JTextField usoDeVeiculosSafraTratoresText;
    private javax.swing.JLabel usoDeVeiculosSafraTratoresUnityLabel;
    private javax.swing.JPanel volumeCachacaProduzidaPanel;
    private javax.swing.JTextField volumeCachacaProduzidaText;
    private javax.swing.JLabel volumeCachacaProduzidoUnityLabel;
    private javax.swing.JLabel volumeVinhacaLabel;
    private javax.swing.JPanel volumeVinhacaPanel;
    private javax.swing.JTextField volumeVinhacaText;
    // End of variables declaration//GEN-END:variables

    private void clearJTextFields() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
